Oauth2Introspection class

OAuth2 Introspection

Implemented types

Constructors

Oauth2Introspection({required bool active, String? token_use, String? token_type, String? scope, String? client_id, String? sub, List<String>? aud, String? iss, int? exp, int? iat, String? jti, List<Map>? authorization_details})
Oauth2Introspection.fromMap(Map<String, dynamic> map)
factory

Properties

active → bool
Whether the token is currently active. An inactive token carries no other claims (RFC 7662).
final
aud → List<String>?
Audiences the token is intended for. The first entry is the project API base URL; any further entries are the resource indicators requested at authorization time (RFC 8707).
final
authorization_details → List<Map>?
Granted RFC 9396 authorization details, restricted to what the user can currently access.
final
client_id → String?
OAuth2 client ID the token was issued to.
final
exp → int?
Expiration time as a Unix timestamp in seconds.
final
hashCode → int
The hash code for this object.
no setterinherited
iat → int?
Issued-at time as a Unix timestamp in seconds.
final
iss → String?
Issuer URL of the token.
final
jti → String?
Unique identifier of the token.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
scope → String?
Space-separated scopes granted to the token.
final
sub → String?
ID of the user who authorized the token.
final
token_type → String?
OAuth2 token type.
final
token_use → String?
Kind of token that was introspected. Can be one of: access_token or refresh_token.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
override
toString() → String
A string representation of this object.
inherited

Operators

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