OAuthApplicationWithSecret class

Constructors

OAuthApplicationWithSecret({required OAuthApplicationWithSecretObjectEnum object, required String id, required String instanceId, required String name, required String clientId, required String? clientUri, required String? clientImageUrl, required bool dynamicallyRegistered, required bool consentScreenEnabled, required bool pkceRequired, required bool public, required String scopes, List<String> redirectUris = const [], required String callbackUrl, required String authorizeUrl, required String tokenFetchUrl, required String userInfoUrl, required String discoveryUrl, required String tokenIntrospectionUrl, required int createdAt, required int updatedAt, String? clientSecret})
Returns a new OAuthApplicationWithSecret instance.

Properties

authorizeUrl String
getter/setter pair
callbackUrl String
Deprecated: Use redirect_uris instead.
getter/setter pair
clientId String
getter/setter pair
clientImageUrl String?
getter/setter pair
clientSecret String?
Empty if public client.
getter/setter pair
clientUri String?
getter/setter pair
consentScreenEnabled bool
getter/setter pair
createdAt int
Unix timestamp of creation.
getter/setter pair
discoveryUrl String
getter/setter pair
dynamicallyRegistered bool
getter/setter pair
hashCode int
The hash code for this object.
no setteroverride
id String
getter/setter pair
instanceId String
getter/setter pair
name String
getter/setter pair
object OAuthApplicationWithSecretObjectEnum
getter/setter pair
pkceRequired bool
getter/setter pair
public bool
getter/setter pair
redirectUris List<String>
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scopes String
getter/setter pair
tokenFetchUrl String
getter/setter pair
tokenIntrospectionUrl String
getter/setter pair
updatedAt int
Unix timestamp of last update.
getter/setter pair
userInfoUrl String
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) OAuthApplicationWithSecret?
Returns a new OAuthApplicationWithSecret instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) List<OAuthApplicationWithSecret>
mapFromJson(dynamic json) Map<String, OAuthApplicationWithSecret>
mapListFromJson(dynamic json, {bool growable = false}) Map<String, List<OAuthApplicationWithSecret>>

Constants

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