oauthToken
@appfire/fuse-auth-core • Docs
@appfire/fuse-auth-core / oauthToken
Function: oauthToken()
oauthToken(
baseUrl
,oauthClientId
,sharedSecret
,userAccountId
):Promise
\<AuthToken
>
Retrieves the OAuth access token for a user.
Parameters
• baseUrl: string
The base URL of the Atlassian application.
• oauthClientId: string
The OAuth client ID.
• sharedSecret: string
The shared secret key.
• userAccountId: string
The user account ID.
Returns
Promise
\<AuthToken
>
A Promise that resolves to an AuthToken object representing the access token.