CreateOAuthApplicationRequest class

Constructors

CreateOAuthApplicationRequest.new({required String name, List<String>? redirectUris = const [], String? callbackUrl, String? scopes = 'profile email', bool? public})
Returns a new CreateOAuthApplicationRequest instance.

Properties

callbackUrl String?
The callback URL of the new OAuth application
getter/setter pair
hashCode int
The hash code for this object.
no setteroverride
name String
The name of the new 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) CreateOAuthApplicationRequest?
Returns a new CreateOAuthApplicationRequest instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) List<CreateOAuthApplicationRequest>
mapFromJson(dynamic json) Map<String, CreateOAuthApplicationRequest>
mapListFromJson(dynamic json, {bool growable = false}) Map<String, List<CreateOAuthApplicationRequest>>

Constants

requiredKeys → const Set<String>
The list of required keys that must be present in a JSON.