IntrospectionResponse class

Constructors

IntrospectionResponse({required bool? active, List<String>? aud = const [], String? clientId, int? exp, IntrospectionResponseExt? ext, int? iat, String? iss, int? nbf, String? tokenType, String? username, String? sub, String? jti})
Returns a new IntrospectionResponse instance.

Properties

active bool?
Boolean indicator of whether or not the presented token is currently active.
getter/setter pair
aud List<String>?
Service-specific string identifier or list of string identifiers representing the intended audience for this token, as defined in JWT
getter/setter pair
clientId String?
Client identifier for the OAuth 2.0 client that requested this token.
getter/setter pair
exp int?
Integer timestamp, measured in the number of seconds since January 1 1970 UTC, indicating when this token will expire, as defined in JWT
getter/setter pair
ext IntrospectionResponseExt?
getter/setter pair
hashCode int
The hash code for this object.
no setteroverride
iat int?
Integer timestamp, measured in the number of seconds since January 1 1970 UTC, indicating when this token was originally issued, as defined in JWT
getter/setter pair
iss String?
String representing the issuer of this token, as defined in JWT
getter/setter pair
jti String?
String identifier for the token, as defined in JWT
getter/setter pair
nbf int?
Integer timestamp, measured in the number of seconds since January 1 1970 UTC, indicating when this token is not to be used before, as defined in JWT
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sub String?
Subject of the token, as defined in JWT. Usually a machine-readable identifier of the resource owner who authorized this token.
getter/setter pair
tokenType String?
getter/setter pair
username String?
Human-readable identifier for the resource owner who authorized this token.
getter/setter pair

Methods

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

Operators

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

Static Methods

fromJson(Map<String, dynamic>? json) IntrospectionResponse?
Returns a new IntrospectionResponse instance and imports its values from json if it's non-null, null if json is null.
listFromJson(List json, {bool? emptyIsNull, bool? growable}) List<IntrospectionResponse?>?
mapFromJson(Map<String, dynamic> json) Map<String, IntrospectionResponse?>
mapListFromJson(Map<String, dynamic> json, {bool? emptyIsNull, bool? growable}) Map<String, List<IntrospectionResponse?>?>