Authentication class

Authentication information.

Constructors

Authentication.anonymous()
Creates an Authentication instance that has no authentication.
Authentication.basic(String? username, String? password)
Creates an Authentication instance that uses a username and password.
Authentication.withToken(String? token)
Creates an Authentication instance that uses the specified OAuth2 token.

Properties

hashCode int
The hash code for this object.
no setterinherited
isAnonymous bool
Anonymous Authentication Flag
no setter
isBasic bool
Basic Authentication Flag
no setter
isToken bool
Token Authentication Flag
no setter
password String?
GitHub Password
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
token String?
OAuth2 Token
final
username String?
GitHub Username
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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