UpdateOAuthApplicationRequest class
Constructors
-
UpdateOAuthApplicationRequest.new({String? name, List<
String> ? redirectUris = const [], String? callbackUrl, String? scopes = 'profile email', bool? public}) - Returns a new UpdateOAuthApplicationRequest instance.
Properties
- callbackUrl ↔ String?
-
The new callback URL of the OAuth application
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setteroverride
- name ↔ String?
-
The new name of the OAuth application. Max length: 256
getter/setter pair
- public ↔ bool?
-
If true, this client is public and you can use the Proof Key of Code Exchange (PKCE) flow.
getter/setter pair
-
redirectUris
↔ List<
String> ? -
An array of redirect URIs of the new OAuth application
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scopes ↔ String?
-
Define the allowed scopes for the new OAuth applications that dictate the user payload of the OAuth user info endpoint. Available scopes are
profile
,email
,public_metadata
,private_metadata
. Provide the requested scopes as a string, separated by spaces.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(
dynamic value) → UpdateOAuthApplicationRequest? -
Returns a new UpdateOAuthApplicationRequest instance and imports its values from
value
if it's a Map, null otherwise. -
listFromJson(
dynamic json, {bool growable = false}) → List< UpdateOAuthApplicationRequest> -
mapFromJson(
dynamic json) → Map< String, UpdateOAuthApplicationRequest> -
mapListFromJson(
dynamic json, {bool growable = false}) → Map< String, List< UpdateOAuthApplicationRequest> >
Constants
-
requiredKeys
→ const Set<
String> - The list of required keys that must be present in a JSON.