Frodo Library - v4.0.0-10
    Preparing search index...

    Type Alias OAuth2Oidc

    type OAuth2Oidc = {
        accessToken(
            amBaseUrl: string,
            data: any,
            config: AxiosRequestConfig,
        ): Promise<AccessTokenMetaType>;
        accessTokenRfc7523AuthZGrant(
            clientId: string,
            jwt: string,
            scope: string[],
            config?: AxiosRequestConfig,
        ): Promise<AccessTokenMetaType>;
        authorize(
            amBaseUrl: string,
            data: string,
            config: AxiosRequestConfig,
        ): Promise<AxiosResponse<any, any, {}>>;
        clientCredentialsGrant(
            amBaseUrl: string,
            clientId: string,
            clientSecret: string,
            scope: string,
        ): Promise<AccessTokenMetaType>;
        getTokenInfo(
            amBaseUrl: string,
            config: AxiosRequestConfig,
        ): Promise<TokenInfoResponseType>;
    }
    Index

    Methods

    • Parameters

      • clientId: string
      • jwt: string
      • scope: string[]
      • Optionalconfig: AxiosRequestConfig

      Returns Promise<AccessTokenMetaType>

    • Parameters

      • amBaseUrl: string
      • data: string
      • config: AxiosRequestConfig

      Returns Promise<AxiosResponse<any, any, {}>>