Documentation
    Preparing search index...

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    apiKey: string

    An api key

    tokenLocation: string

    The location where the token should be used.

    tokenName: string

    The name of the token location property, usually a header name or querystring key.

    tokenPrefix: string

    The token value may have a prefix, such as 'Basic' or 'Bearer'

    Methods

    • Creates a new credential provider with the same Open ID configuration object.

      Parameters

      • Optionaloptions: Partial<
            {
                apiKey: string;
                tokenLocation?: string;
                tokenName?: string;
                tokenPrefix?: string;
            },
        >

        Credentials for the provider.

      Returns ApiKeyProvider