oidc library

Classes

DefaultJsonWebKeySetLoader
A JsonWebKeySetLoader that uses http.Client to make http requests.
JoseHeader
Contains the JSON Object Signing and Encryption header parameters for JsonWebSignature and JsonWebEncryption
JoseObject
Base class for JsonWebSignature and JsonWebEncryption.
JoseObjectBuilder<T extends JoseObject>
Base class for JsonWebSignatureBuilder and JsonWebEncryptionBuilder
JosePayload
The payload of a JsonWebSignature or JsonWebEncryption
JoseRecipient
Per-recipient content of a JoseObject
JsonWebAlgorithm
JsonWebEncryption
JSON Web Encryption (JWE) represents encrypted content using JSON-based data structures
JsonWebEncryptionBuilder
Builder for JsonWebSignature
JsonWebKey
JSON Web Key (JWK) represents a cryptographic key
JsonWebKeySet
Represents a set of JsonWebKeys
JsonWebKeySetLoader
Used for loading JSON Web Key sets from an url
JsonWebKeyStore
A key store to lookup JsonWebKeys
JsonWebSignature
JSON Web Signature (JWS) represents content secured with digital signatures or Message Authentication Codes (MACs) using JSON-based data structures.
JsonWebSignatureBuilder
Builder for JsonWebSignature
JsonWebToken
Represents a JWT
JsonWebTokenClaims
The set of claims conveyed by the JsonWebToken
NoOpOidcPlatform
an implementation of OidcPlatform that throws UnimplementedError.
OidcAggregatedClaimSource
OidcAuthorizeRequest
A class that describes an /authorize request.
OidcAuthorizeResponse
Successful Authentication Response
OidcAuthorizeState
Represents a state that takes a snapshot of the request parameters and some settings to ensure nothing changes during the flow.
OidcClaimSource
OidcClientAuthentication
OidcConstants_AccessTokenTypes
OidcConstants_AuthorizationEndpoint_ResponseType
The response_type options defined by the spec
OidcConstants_AuthorizeRequest_CodeChallengeMethod
OidcConstants_AuthorizeRequest_Display
The display options defined by the spec.
OidcConstants_AuthorizeRequest_Prompt
The prompt options defined by the spec
OidcConstants_AuthorizeRequest_ResponseMode
OidcConstants_AuthParameters
OidcConstants_ClientAssertionTypes
OidcConstants_ClientAuthenticationMethods
OidcConstants_Exception
OidcConstants_GrantType
OidcConstants_JWTClaims
OidcConstants_OperationDiscriminators
OidcConstants_ProviderMetadata
OidcConstants_RequestMethod
OidcConstants_Scopes
OidcConstants_Store
OidcDeviceAuthorizationRequest
A class that describes an /authorize request.
OidcDeviceAuthorizationResponse
OidcDistributedClaimSource
OidcDurationSecondsConverter
OidcEndpoints
Helper class for dart-based openid connect clients.
OidcEndSessionRequest
OidcEndSessionResponse
OidcEndSessionState
Represents a state that takes a snapshot of the request parameters and some settings to ensure nothing changes during the flow.
OidcErrorMonitorSessionResult
OidcErrorResponse
OidcEvent
Represents an arbitrary event.
OidcFlutter
Helper class for flutter-based openid connect clients.
OidcFrontChannelLogoutIncomingRequest
OidcFrontChannelRequestListeningOptions
OidcFrontChannelRequestListeningOptions_Web
OidcIdTokenVerificationOptions
OidcInternalUtilities
OidcMemoryStore
A simple OidcStore implementation that relies on memory and doesn't actually store anything.
OidcMonitorSessionResult
OidcMonitorSessionStatusRequest
OidcNumericDateConverter
OidcPkcePair
A pair of (codeVerifier, codeChallenge) that can be used with PKCE (Proof Key for Code Exchange).
OidcPlatform
The interface that implementations of oidc must implement.
OidcPlatformSpecificOptions
Represents flutter platform-specific options.
OidcPlatformSpecificOptions_AppAuth_Android
OidcPlatformSpecificOptions_AppAuth_IosMacos
OidcPlatformSpecificOptions_Native
OidcPlatformSpecificOptions_Web
OidcPreLogoutEvent
An event that gets raised before the user is forgotten.
OidcProviderMetadata
The "OpenID Provider Metadata" as standardized by the spec https://openid.net/specs/openid-connect-discovery-1_0.html#ProviderMetadata This also includes some metadata that are defined by other extensions
OidcPushedAuthorizationRequest
See https://datatracker.ietf.org/doc/html/rfc9126
OidcReadOnlyStore
An abstract interface for fetching data.
OidcSessionManagementSettings
OidcSimpleAuthorizationCodeFlowRequest
This authorization request takes only the minimal parameters and generates the rest.
OidcSimpleAuthorizationRequestContainer
The result of processing an OidcSimpleAuthorizationCodeFlowRequest or OidcSimpleImplicitFlowRequest.
OidcSimpleImplicitFlowRequest
This authorization request takes only the minimal parameters and generates the rest.
OidcState
Base class for any state
OidcStore
An abstract interface for storing/fetching data.
OidcToken
Represents a serializable token.
OidcTokenEventsManager
OidcTokenRequest
See https://developer.okta.com/docs/reference/api/oidc/
OidcTokenResponse
OidcUnknownMonitorSessionResult
OidcUser
A user is a verified JWT id_token, with an optional access_token.
OidcUserInfoResponse
OidcUserInfoSettings
OidcUserManager
This class manages a single user's authentication status.
OidcUserManagerSettings
OidcUtils
Utilities for the Oidc spec
OidcValidMonitorSessionResult

Functions

defaultRefreshBefore(OidcToken token) Duration?
The default refreshBefore function, which refreshes 1 minute before the token expires.

Typedefs

OidcRefreshBeforeCallback = Duration? Function(OidcToken token)
The callback used to determine the expiring duration.

Exceptions / Errors

JoseException
OidcException