ServerGetServiceAuthInput class abstract
- Available extensions
- Annotations
-
- @freezed
Constructors
-
ServerGetServiceAuthInput.new({required String aud, int? exp, String? lxm, Map<
String, dynamic> ? $unknown}) -
constfactory
-
ServerGetServiceAuthInput.fromJson(Map<
String, Object?> json) -
factory
Properties
-
$unknown
→ Map<
String, dynamic> ? -
no setterinherited
- aud → String
-
The DID of the service that the token will be used to authenticate with
no setterinherited
-
copyWith
→ $ServerGetServiceAuthInputCopyWith<
ServerGetServiceAuthInput> -
Create a copy of ServerGetServiceAuthInput
with the given fields replaced by the non-null parameter values.
no setterinherited
- exp → int?
-
The time in Unix Epoch seconds that the JWT expires. Defaults to 60 seconds in the future. The service may enforce certain time bounds on tokens depending on the requested scope.
no setterinherited
- hasExp → bool
-
Available on ServerGetServiceAuthInput, provided by the ServerGetServiceAuthInputExtension extension
no setter - hashCode → int
-
The hash code for this object.
no setterinherited
- hasLxm → bool
-
Available on ServerGetServiceAuthInput, provided by the ServerGetServiceAuthInputExtension extension
no setter - hasNotExp → bool
-
Available on ServerGetServiceAuthInput, provided by the ServerGetServiceAuthInputExtension extension
no setter - hasNotLxm → bool
-
Available on ServerGetServiceAuthInput, provided by the ServerGetServiceAuthInputExtension extension
no setter - lxm → String?
-
Lexicon (XRPC) method to bind the requested token to
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
map<
TResult extends Object?> (TResult $default(_ServerGetServiceAuthInput value)) → TResult -
Available on ServerGetServiceAuthInput, provided by the ServerGetServiceAuthInputPatterns extension
Aswitch
-like method, using callbacks. -
mapOrNull<
TResult extends Object?> (TResult? $default(_ServerGetServiceAuthInput value)?) → TResult? -
Available on ServerGetServiceAuthInput, provided by the ServerGetServiceAuthInputPatterns extension
A variant ofmap
that fallback to returningnull
. -
maybeMap<
TResult extends Object?> (TResult $default(_ServerGetServiceAuthInput value)?, {required TResult orElse()}) → TResult -
Available on ServerGetServiceAuthInput, provided by the ServerGetServiceAuthInputPatterns extension
A variant ofmap
that fallback to returningorElse
. -
maybeWhen<
TResult extends Object?> (TResult $default(String aud, int? exp, String? lxm, Map< String, dynamic> ? $unknown)?, {required TResult orElse()}) → TResult -
Available on ServerGetServiceAuthInput, provided by the ServerGetServiceAuthInputPatterns extension
A variant ofwhen
that fallback to anorElse
callback. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Serializes this ServerGetServiceAuthInput to a JSON map.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
when<
TResult extends Object?> (TResult $default(String aud, int? exp, String? lxm, Map< String, dynamic> ? $unknown)) → TResult -
Available on ServerGetServiceAuthInput, provided by the ServerGetServiceAuthInputPatterns extension
Aswitch
-like method, using callbacks. -
whenOrNull<
TResult extends Object?> (TResult? $default(String aud, int? exp, String? lxm, Map< String, dynamic> ? $unknown)?) → TResult? -
Available on ServerGetServiceAuthInput, provided by the ServerGetServiceAuthInputPatterns extension
A variant ofwhen
that fallback to returningnull
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
knownProps
→ const List<
String>