SecretsClient class
Methods
-
addListener(void listener())
→ void
-
inherited
-
getOfflineOAuthToken({ConnectorRef? connector, OAuthClientConfig? oauth, String? delegatedTo, String? delegatedBy})
→ Future<String?>
-
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
notifyListeners()
→ void
-
inherited
-
provideOAuthAuthorization({required String requestId, required String code})
→ Future<void>
-
Client -> server: Provide the OAuth token in response to a prior inbound request.
-
rejectOAuthAuthorization({required String requestId, required String error})
→ Future<void>
-
Client -> server: reject an OAuth token request in response to a prior inbound request.
-
removeListener(void listener())
→ void
-
inherited
-
requestOAuthToken({required String fromParticipantId, required Uri redirectUri, required String delegateTo, ConnectorRef? connector, OAuthClientConfig? oauth, int timeout = 60 * 5})
→ Future<String>
-
Client -> server: Ask another participant (or the server) to obtain an OAuth token for us.
Returns the
access_token string.
-
toString()
→ String
-
A string representation of this object.
inherited