OAuth2Oidc: { accessToken(amBaseUrl: string,
data: any,
config: AxiosRequestConfig<any>): Promise<AccessTokenMetaType>; accessTokenRfc7523AuthZGrant(clientId: string,
jwt: string,
scope: string[],
config?: AxiosRequestConfig<any>): Promise<AccessTokenMetaType>; authorize(amBaseUrl: string,
data: string,
config: AxiosRequestConfig<any>): Promise<AxiosResponse<any, any>>; clientCredentialsGrant(amBaseUrl: string,
clientId: string,
clientSecret: string,
scope: string): Promise<AccessTokenMetaType>; getTokenInfo(amBaseUrl: string,
config: AxiosRequestConfig<any>): Promise<TokenInfoResponseType>; } Type declaration
accessToken:function
- accessToken(amBaseUrl: string, data: any, config: AxiosRequestConfig<any>): Promise<AccessTokenMetaType>
Parameters
- amBaseUrl: string
- data: any
- config: AxiosRequestConfig<any>
accessTokenRfc7523AuthZGrant:function
- accessTokenRfc7523AuthZGrant(clientId: string, jwt: string, scope: string[], config?: AxiosRequestConfig<any>): Promise<AccessTokenMetaType>
Parameters
- clientId: string
- jwt: string
- scope: string[]
Optional
config: AxiosRequestConfig<any>
authorize:function
- authorize(amBaseUrl: string, data: string, config: AxiosRequestConfig<any>): Promise<AxiosResponse<any, any>>
Parameters
- amBaseUrl: string
- data: string
- config: AxiosRequestConfig<any>
Returns Promise<AxiosResponse<any, any>>
clientCredentialsGrant:function
- clientCredentialsGrant(amBaseUrl: string, clientId: string, clientSecret: string, scope: string): Promise<AccessTokenMetaType>
Parameters
- amBaseUrl: string
- clientId: string
- clientSecret: string
- scope: string
getTokenInfo:function
- getTokenInfo(amBaseUrl: string, config: AxiosRequestConfig<any>): Promise<TokenInfoResponseType>
Parameters
- amBaseUrl: string
- config: AxiosRequestConfig<any>