OAuthApplication class

Constructors

OAuthApplication.new({required OAuthApplicationObjectEnum object, required String id, required String instanceId, required String name, required String clientId, 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})
Returns a new OAuthApplication instance.

Properties

authorizeUrl String
getter/setter pair
callbackUrl String
Deprecated: Use redirect_uris instead.
getter/setter pair
clientId String
getter/setter pair
createdAt int
Unix timestamp of creation.
getter/setter pair
discoveryUrl String
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 OAuthApplicationObjectEnum
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) OAuthApplication?
Returns a new OAuthApplication instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) List<OAuthApplication>
mapFromJson(dynamic json) Map<String, OAuthApplication>
mapListFromJson(dynamic json, {bool growable = false}) Map<String, List<OAuthApplication>>

Constants

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