Optionalcredentials?: AuthorizationCodeProviderOptionalerrorRedirect?: stringThe path to redirect the caller to after an error is encountered during the authorization flow.
OptionalgetIdToken?: (token: AccessToken) => stringRetrieve the ID token. The default behavior is to use the access token. Some auth providers give separate id tokens and access tokens, in which case the access tokens are not jwts.
OptionallogIn?: stringThe path which redirects the caller to the authorization url to sign in.
OptionallogInRedirect?: stringThe path to redirect the caller to after signing in.
OptionallogOut?: stringThe path to call to clear a user's session and revoke the access token.
OptionallogOutRedirect?: stringThe path to redirect the caller to after signing out.
OptionalsessionIdCookieName?: stringThe name of the cookie containing the session id so that AuthorizationCodeFlow can delete the session cookie when signing out.
This must be the same as the value passed in to the @byu-oit-sdk/session-svelte constructor
OptionaluserInfoCallback?: (this: AuthorizationCodeProvider, token: AccessToken) => Promise<UserInfo>Retrieve user information for a given request. The default behavior is to decode the token. The this context of
the function is bound to your provider configuration.
OptionaluserInfoCookieName?: stringThe name of the cookie containing the user information parsed from the token.
Authorization code provider to use to configure authentication.