AuthCodeClient class
Provides OAuth authorization process.
Corresponds to Authorization Endpoint of OAuth 2.0 spec.
Constructors
- AuthCodeClient({AuthApi authApi })
Properties
- hashCode → int
-
The hash code for this object.
read-only, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Methods
-
request(
{String clientId, String redirectUri, 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> -
requestWithTalk(
{String clientId, String redirectUri, List< String> scopes }) → Future<String> - Requests authorization code via KakaoTalk. [...]
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
toString(
) → String -
Returns a string representation of this object.
inherited
Operators
-
operator ==(
dynamic other) → bool -
The equality operator.
inherited
Static Properties
- instance → AuthCodeClient
-
final