Gigantier class

Constructors

Gigantier(String hostname, String clientId, String clientSecret, String scope, String appName, {String protocol = 'https', String apiVersion = 'v1', Client client})

Properties

apiVersion String
final
appName String
final
client Client
final
clientId String
final
clientSecret String
final
hashCode int
The hash code for this object. [...]
read-only, inherited
hostname String
final
prefs Preferences
final
protocol String
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
scope String
final

Methods

authenticate(String identifier, String password) Future<Credential>
authenticatedCall(String uri, {Map<String, dynamic> body, Map<String, String> headers, HttpMethod method = HttpMethod.post}) Future<Map<String, dynamic>>
call(String uri, {Map<String, dynamic> body, Map<String, String> headers, HttpMethod method = HttpMethod.post}) Future<Map<String, dynamic>>
getAppToken({bool renew = false}) Future<String>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

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

Static Properties

grantTypeApp String
final
grantTypeRefresh String
final
grantTypeUser String
final
oauthPath String
final
retries int
final

Static Methods

baseHeaders(dynamic appName) Future<Map<String, String>>