chore: method signatures for tokenRequest method
This commit is contained in:
@@ -127,10 +127,15 @@ const pkceChallengeFromVerifier = async v => {
|
|||||||
return base64urlencode(hashed);
|
return base64urlencode(hashed);
|
||||||
};
|
};
|
||||||
|
|
||||||
//////////////////////////////////////////////////////////////////////
|
|
||||||
// OAUTH REQUEST
|
// OAUTH REQUEST
|
||||||
|
|
||||||
// Initiate PKCE Auth Code flow when requested
|
/**
|
||||||
|
* Initiate PKCE Auth Code flow when requested
|
||||||
|
*
|
||||||
|
* @param {Object} - The necessary params
|
||||||
|
* @returns {Void}
|
||||||
|
*/
|
||||||
|
|
||||||
const tokenRequest = async ({
|
const tokenRequest = async ({
|
||||||
oidcDiscoveryUrl,
|
oidcDiscoveryUrl,
|
||||||
grantType,
|
grantType,
|
||||||
|
|||||||
Reference in New Issue
Block a user