chore: method signatures for getTokenConfiguration method
This commit is contained in:
parent
ee49f8d26c
commit
1a04d79fb9
1 changed files with 7 additions and 1 deletions
|
|
@ -47,7 +47,13 @@ const parseQueryString = searchQuery => {
|
|||
segments.forEach(s => (queryString[s[0]] = s[1]));
|
||||
return queryString;
|
||||
};
|
||||
// Get OAuth configuration from OpenID Discovery endpoint
|
||||
|
||||
/**
|
||||
* Get OAuth configuration from OpenID Discovery endpoint
|
||||
*
|
||||
* @returns {Object}
|
||||
*/
|
||||
|
||||
const getTokenConfiguration = async endpoint => {
|
||||
const options = {
|
||||
method: "GET",
|
||||
|
|
|
|||
Loading…
Reference in a new issue