DVOAuthClientManagement class

Registers, lists and revokes the current organization's OAuth clients.

Constructors

DVOAuthClientManagement(DVAuthAuthorization authorization)
const

Properties

authorization → DVAuthAuthorization
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

list({required Object? user}) → Future<List<DVOAuthClient>>
The current organization's clients, oldest first.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
register({required Object? user, required String? actor, required String name, required List<String> redirectUris, required List<String> scopes, bool public = false}) → Future<DVRegisteredOAuthClient>
Registers a client for the current organization. A confidential client's secret is on the result, once.
revoke(String clientId, {required Object? user, required String? actor}) → Future<void>
Revokes client clientId of the current organization; its tokens stop on their next use.
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited