A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://pub.dev/documentation/github/latest/github/../github/Authentication-class.html below:

Authentication class - github library

Authentication class

Authentication information.

Constructors
Authentication.anonymous()
Creates an Authentication instance that has no authentication.

const

Authentication.basic(String? username, String? password)
Creates an Authentication instance that uses a username and password.

const

Authentication.bearerToken(String bearerToken)
Creates an Authentication instance that uses the specified bearerToken.

const

Authentication.withToken(String? token)
Creates an Authentication instance that uses the specified OAuth2 token.

const

Properties
bearerToken String?

final

hashCode int
The hash code for this object.

no setterinherited

isAnonymous bool
Anonymous Authentication Flag

no setter

isBasic bool
Basic Authentication Flag

no setter

isBearer bool

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
authorizationHeaderValue() String?
Returns a value for the Authorization HTTP request header or null if isAnonymous is true.
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


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4