DropboxAuthenticator class

Inheritance

Constructors

DropboxAuthenticator(String? identifier, String? clientId, String? clientSecret, String? tokenUrl, String? baseUrl, String redirectUrl, List<String>? scopes)

Properties

allowsCancel bool
getter/setter pairinherited
authCode String?
getter/setter pairinherited
authCodeKey String
getter/setter pairinherited
baseUrl String?
getter/setter pairinherited
clientId String?
getter/setter pairinherited
clientSecret String?
getter/setter pairinherited
hasCompleted bool
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
identifier String?
getter/setter pairinherited
nonce String?
getter/setter pairinherited
nonceLength int
getter/setter pairinherited
redirectUri Uri
getter/setter pair
redirectUrl String?
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scope List<String>?
getter/setter pairinherited
state String?
getter/setter pair
title String
getter/setter pairinherited
token String?
getter/setter pair
tokenType String?
getter/setter pair
tokenUrl String?
getter/setter pairinherited
uid String?
getter/setter pair
useEmbeddedBrowser bool?
getter/setter pairinherited
useNonce bool
getter/setter pairinherited
usePkce bool?
getter/setter pairinherited
useSSO bool
getter/setter pairinherited
verifier String?
getter/setter pairinherited

Methods

cancel() → void
Cancels the current authentication request.
inherited
checkUrl(Uri url) bool
This will check if the current URL has authentication tokens.
override
foundAuthCode(String? authCode) → void
Call this when you recieve the Auth token.
inherited
generateNonce(int length) String
inherited
getAuthCode() Future<String>
This method will return once an Auth Code is found.
inherited
getInitialUrl() Future<Uri>
Gets the URL that will be used for user login.
inherited
getInitialUrlQueryParameters() Future<Map<String, dynamic>>
Gets the URL Parameters that will be used for the login page.
override
getTokenPostData(String? clientSecret) Future<Map<String, dynamic>>
Gets the data that will be posted to swap the auth code for an auth token
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onError(String error) → void
Cancels the request with an error message.
inherited
resetAuthenticator() Future
inherited
toString() String
A string representation of this object.
inherited

Operators

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