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
- OidcAuthorizationHookRequest
- 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_RevocationParameters
- The parameters used in the revocation endpoint
- OidcConstants_RevocationParameters_TokenType
- The token type hints defined by the spec
- 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
-
OidcHook<
TRequest, TResponse> -
OidcHookBase<
TRequest, TResponse> -
OidcHookGroup<
TRequest, TResponse> - A group of OIDC hooks that can be executed together.
- OidcIdTokenVerificationOptions
- OidcInternalUtilities
- OidcJwksStoreLoader
- 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.
- OidcRevocationHookRequest
- OidcRevocationRequest
- OidcRevocationResponse
- Response from a token revocation endpoint.
- 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
- OidcTokenExpiredEvent
- An event that gets raised after a token expired.
- OidcTokenExpiringEvent
- An event that gets raised before a token expires.
- OidcTokenHookRequest
- 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
- The flutter implementation of OidcUserManagerBase
- OidcUserManagerBase
- This class manages a single user's authentication status.
- OidcUserManagerHooks
- A collection of hooks for the OIDC User Manager.
- OidcUserManagerSettings
- OidcUtils
- Utilities for the Oidc spec
- OidcValidMonitorSessionResult
Enums
- OidcAppAuthExternalUserAgent
- The possible navigation modes to use for web.
- OidcStoreNamespace
- OidcUserInfoAccessTokenLocations
Mixins
-
OidcExecutionHookMixin<
TRequest, TResponse>
Extensions
- $OidcProviderMetadataCopyWith on OidcProviderMetadata
- OidcDateTime on DateTime
-
OidcHookExtensions
on OidcHookMixin<
TRequest, TResponse> ? - OidcReadOnlyStoreExt on OidcReadOnlyStore
- OidcStoreExt on OidcStore
Functions
-
defaultRefreshBefore(
OidcToken token) → Duration? - The default refreshBefore function, which refreshes 1 minute before the token expires.
-
oidcExecuteHook<
TRequest, TResponse> ({required TRequest request, required OidcHookExecution< TRequest, TResponse> defaultExecution, required OidcHookMixin<TRequest, TResponse> ? hook}) → Future<TResponse>
Typedefs
-
OidcHookExecution<
TRequest, TResponse> = Future< TResponse> Function(TRequest request) - OidcRefreshBeforeCallback = Duration? Function(OidcToken token)
-
The callback used to determine the
expiring
duration.