OAuth2Configuration class
- Annotations
-
- @freezed
Constructors
- OAuth2Configuration({@JsonKey(name: 'client_id') required String clientId, @JsonKey(name: 'redirect_uri') required String redirectUri, required String scope, @JsonKey(name: 'state', includeIfNull: false) String? state, @JsonKey(name: 'code_challenge', includeIfNull: false) String? codeChallenge, @JsonKey(name: 'code_challenge_method', includeIfNull: false) String? codeChallengeMethod, @JsonKey(name: 'response_type', includeIfNull: false) String? responseType, String? customUriScheme})
-
constfactory
-
OAuth2Configuration.fromJson(Map<
String, dynamic> json) -
factory
Properties
- clientId → String
-
no setterinherited
- codeChallenge → String?
-
no setterinherited
- codeChallengeMethod → String?
-
no setterinherited
-
copyWith
→ $OAuth2ConfigurationCopyWith<
OAuth2Configuration> -
no setterinherited
- customUriScheme → String?
-
Needed for mobile platforms
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- redirectUri → String
-
no setterinherited
- responseType → String?
-
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scope → String
-
no setterinherited
- state → String?
-
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited