OidcTokenResponse class

Annotations
  • @JsonSerializable.new(createFactory: true, createToJson: false)

Constructors

OidcTokenResponse({required Map<String, dynamic> src, String? tokenType, String? accessToken, List<String>? scope, String? idToken, String? refreshToken, Duration? expiresIn, String? sessionState})
OidcTokenResponse.fromJson(Map<String, dynamic> src)
factory

Properties

accessToken String?
OPTIONAL.
getter/setter pair
expiresIn Duration?
RECOMMENDED.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
idToken String?
REQUIRED, in the OIDC spec.
getter/setter pair
isOidc bool
no setter
refreshToken String?
OPTIONAL.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scope List<String>?
getter/setter pair
sessionState String?
The session state used in the session management spec.
getter/setter pair
src Map<String, dynamic>
The source json object.
finalinherited
tokenType String?
REQUIRED.
getter/setter pair

Methods

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

Operators

operator ==(Object other) bool
The equality operator.
inherited
operator [](String key) → dynamic
gets a value from the src json
inherited