Optional
credentials?: AuthorizationCodeProviderOptional
errorThe path to redirect the caller to after an error is encountered during the authorization flow.
Optional
getRetrieve 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.
Optional
logThe path which redirects the caller to the authorization url to sign in.
Optional
logThe path to redirect the caller to after signing in.
Optional
logThe path to call to clear a user's session and revoke the access token.
Optional
logThe path to redirect the caller to after signing out.
Optional
sessionThe 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
Optional
userRetrieve 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.
Optional
userThe name of the cookie containing the user information parsed from the token.
Authorization code provider to use to configure authentication.