AuthCodeClient class
Provides OAuth authorization process.
Corresponds to Authorization Endpoint of OAuth 2.0 spec.
Constructors
- AuthCodeClient({AuthApi? authApi, Platform? platform})
Properties
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
request(
{String? clientId, String? redirectUri, List< Prompt>? prompts, List< String>? scopes}) → Future< String> -
Requests authorization code via
Chrome Custom Tabs
(on Android) andASWebAuthenticationSession
(on iOS). -
requestWithAgt(
List< String> scopes, {String? clientId, String? redirectUri}) → Future< String> - Requests authorization code with current access token.
-
requestWithTalk(
{String? clientId, String? redirectUri, List< String>? scopes}) → Future< String> - Requests authorization code via KakaoTalk.
-
retrieveAuthCode(
) → void - Retreives auth code in web environment. (This method is web specific. Use after checking the platform)
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- instance → AuthCodeClient
-
final