OAuth2PKCE class
Constructors
-
OAuth2PKCE(String clientId, String confidentialIntermediaryServer, {String? redirectUri, List<
String> scopes = const [], String? state, GitHub? github, String baseUrl = 'https://github.com/login/oauth'}) - Constructor to initialize OAuth2PKCE with required parameters.
Properties
- baseUrl → String
-
OAuth2 Base URL
final
- clientId → String
-
OAuth2 Client ID
final
- confidentialIntermediaryServer → String
-
Confidential Intermediary Server URL
final
- github ↔ GitHub?
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- redirectUri → String?
-
Redirect URI
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
scopes
→ List<
String> -
Requested Scopes
final
- state → String?
-
State
final
Methods
-
createAuthorizeUrl(
String codeChallenge) → String - Generates an Authorization URL
-
exchange(
String code, String codeVerifier, [String? origin]) → Future< ExchangeResponse> -
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