ClientInfo class

Metadata about an FTAuth client.

Annotations
  • @JsonSerializable(fieldRename: FieldRename.snake)

Constructors

ClientInfo({required String id, String? name, required ClientType type, String? secret, DateTime? secretExpiresAt, required List<String> redirectUris, required List<String> scopes, String? jwksUri, String? logoUri, required List<String> grantTypes, required int accessTokenLife, required int refreshTokenLife, List<Provider> providers = const [Provider.ftauth]})
ClientInfo.fromJson(Map<String, dynamic> json)
factory

Properties

accessTokenLife int
final
grantTypes List<String>
final
hashCode int
The hash code for this object.
no setterinherited
id String
final
isDevClient bool
final
jwksUri String?
final
logoUri String?
final
name String?
final
props List<Object>
The list of properties that will be used to determine whether two instances are equal.
no setter
providers List<Provider>
final
redirectUris List<String>
final
refreshTokenLife int
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scopes List<String>
final
secret String?
final
secretExpiresAt DateTime?
final
stringify bool?
If set to true, the toString method will be overridden to output this instance's props.
no setterinherited
type ClientType
final

Methods

copyWith({String? id, String? name, ClientType? type, String? secret, DateTime? secretExpiresAt, List<String>? redirectUris, List<String>? scopes, String? jwksUri, String? logoUri, List<String>? grantTypes, int? accessTokenLife, int? refreshTokenLife, List<Provider>? providers}) ClientInfo
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.
inherited

Operators

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