menu
matrix package
documentation
matrix_api_lite/generated/model.dart
OpenIdCredentials class
OpenIdCredentials class
dark_mode
light_mode
OpenIdCredentials
class
Annotations
@_NameSource('spec')
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 setter
override
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 setter
inherited
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
matrix package
documentation
matrix_api_lite/generated/model
OpenIdCredentials class
model library