OpenIdCredentials class

Constructors

OpenIdCredentials({required String accessToken, required int expiresIn, required String matrixServerName, required String tokenType})
OpenIdCredentials.fromJson(Map<String, Object?> json)

Properties

accessToken ↔ String
An access token the consumer may use to verify the identity of the person who generated the token. This is given to the federation API GET /openid/userinfo to verify the user's identity.
getter/setter pair
expiresIn ↔ int
The number of seconds before this token expires and a new one must be generated.
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
matrixServerName ↔ String
The homeserver domain the consumer should use when attempting to verify the user's identity.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
tokenType ↔ String
The string Bearer.
getter/setter pair

Methods

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

Operators

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