OAuthApi class

Constructors

OAuthApi([ApiClient? apiClient])

Properties

apiClient → ApiClient
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

getJWKS() → Future<JWKS?>
JSON Web Key Set for id_token verification (RFC 7517).
getJWKSWithHttpInfo() → Future<Response>
JSON Web Key Set for id_token verification (RFC 7517).
getOAuthDiscovery() → Future<DiscoveryDocument?>
OAuth 2.1 authorization server metadata (RFC 8414).
getOAuthDiscoveryWithHttpInfo() → Future<Response>
OAuth 2.1 authorization server metadata (RFC 8414).
getOpenIDConfiguration() → Future<DiscoveryDocument?>
OpenID Connect Discovery 1.0 metadata.
getOpenIDConfigurationWithHttpInfo() → Future<Response>
OpenID Connect Discovery 1.0 metadata.
getUserInfo() → Future<UserInfoResponse?>
OIDC UserInfo (OpenID Connect Core 1.0 §5.3).
getUserInfoWithHttpInfo() → Future<Response>
OIDC UserInfo (OpenID Connect Core 1.0 §5.3).
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
oauthAuthorize(String clientId, String redirectUri, String responseType, String codeChallenge, String codeChallengeMethod, {String? scope, String? state, String? nonce, String? prompt, int? maxAge}) → Future<void>
OAuth 2.1 authorization endpoint (RFC 6749 + 7636 PKCE).
oauthAuthorizeWithHttpInfo(String clientId, String redirectUri, String responseType, String codeChallenge, String codeChallengeMethod, {String? scope, String? state, String? nonce, String? prompt, int? maxAge}) → Future<Response>
OAuth 2.1 authorization endpoint (RFC 6749 + 7636 PKCE).
oauthIntrospect(String token) → Future<IntrospectionResponse?>
RFC 7662 token introspection. Accepts both OAuth access tokens and PATs.
oauthIntrospectWithHttpInfo(String token) → Future<Response>
RFC 7662 token introspection. Accepts both OAuth access tokens and PATs.
oauthRevoke(String token) → Future<void>
RFC 7009 token revocation. Idempotent.
oauthRevokeWithHttpInfo(String token) → Future<Response>
RFC 7009 token revocation. Idempotent.
oauthToken(String grantType, {String? code, String? codeVerifier, String? redirectUri, String? refreshToken, String? clientId, String? clientSecret}) → Future<TokenResponse?>
Exchange authorization code or refresh token for an access token (+ id_token if openid scope).
oauthTokenWithHttpInfo(String grantType, {String? code, String? codeVerifier, String? redirectUri, String? refreshToken, String? clientId, String? clientSecret}) → Future<Response>
Exchange authorization code or refresh token for an access token (+ id_token if openid scope).
postUserInfo() → Future<UserInfoResponse?>
Same as GET /oauth2/userinfo. Provided for clients that send the bearer in the body.
postUserInfoWithHttpInfo() → Future<Response>
Same as GET /oauth2/userinfo. Provided for clients that send the bearer in the body.
registerOAuthClient(ClientRegistrationRequest clientRegistrationRequest) → Future<ClientRegistrationResponse?>
Register a new OAuth 2.1 client (RFC 7591 dynamic client registration).
registerOAuthClientWithHttpInfo(ClientRegistrationRequest clientRegistrationRequest) → Future<Response>
Register a new OAuth 2.1 client (RFC 7591 dynamic client registration).
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited