Frodo Library - v4.0.0-10
Project Home
Preparing search index...
Reference
OAuth2Oidc
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
access
Token
access
Token
Rfc7523
Auth
Z
Grant
authorize
client
Credentials
Grant
get
Token
Info
Methods
access
Token
accessToken
(
amBaseUrl
:
string
,
data
:
any
,
config
:
AxiosRequestConfig
,
)
:
Promise
<
AccessTokenMetaType
>
Parameters
amBaseUrl
:
string
data
:
any
config
:
AxiosRequestConfig
Returns
Promise
<
AccessTokenMetaType
>
access
Token
Rfc7523
Auth
Z
Grant
accessTokenRfc7523AuthZGrant
(
clientId
:
string
,
jwt
:
string
,
scope
:
string
[]
,
config
?:
AxiosRequestConfig
,
)
:
Promise
<
AccessTokenMetaType
>
Parameters
clientId
:
string
jwt
:
string
scope
:
string
[]
Optional
config
:
AxiosRequestConfig
Returns
Promise
<
AccessTokenMetaType
>
authorize
authorize
(
amBaseUrl
:
string
,
data
:
string
,
config
:
AxiosRequestConfig
,
)
:
Promise
<
AxiosResponse
<
any
,
any
,
{}
>
>
Parameters
amBaseUrl
:
string
data
:
string
config
:
AxiosRequestConfig
Returns
Promise
<
AxiosResponse
<
any
,
any
,
{}
>
>
client
Credentials
Grant
clientCredentialsGrant
(
amBaseUrl
:
string
,
clientId
:
string
,
clientSecret
:
string
,
scope
:
string
,
)
:
Promise
<
AccessTokenMetaType
>
Parameters
amBaseUrl
:
string
clientId
:
string
clientSecret
:
string
scope
:
string
Returns
Promise
<
AccessTokenMetaType
>
get
Token
Info
getTokenInfo
(
amBaseUrl
:
string
,
config
:
AxiosRequestConfig
,
)
:
Promise
<
TokenInfoResponseType
>
Parameters
amBaseUrl
:
string
config
:
AxiosRequestConfig
Returns
Promise
<
TokenInfoResponseType
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Methods
access
Token
access
Token
Rfc7523
Auth
Z
Grant
authorize
client
Credentials
Grant
get
Token
Info
Project Home
Frodo Library - v4.0.0-10
Loading...