Authorization class

A proxy class describing OAuth 1.0 redirection-based authorization. http://tools.ietf.org/html/rfc5849#section-2

Redirection works are responded to client. So you can do PIN-based authorization too if you want.

Constructors

Authorization(ClientCredentials _clientCredentials, Platform _platform, [BaseClient? httpClient])
A constructor of Authorization.

Properties

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

Methods

getResourceOwnerAuthorizationURI(String temporaryCredentialsIdentifier) String
Get resource owner authorization URI. http://tools.ietf.org/html/rfc5849#section-2.2
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
requestTemporaryCredentials([String? callbackURI]) Future<AuthorizationResponse>
Obtain a set of temporary credentials from the server. http://tools.ietf.org/html/rfc5849#section-2.1
requestTokenCredentials(Credentials tokenCredentials, String verifier) Future<AuthorizationResponse>
Obtain a set of token credentials from the server. http://tools.ietf.org/html/rfc5849#section-2.3
toString() String
A string representation of this object.
inherited

Operators

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