AuthApi class

Provides Kakao OAuth API.

Constructors

AuthApi({Dio? dio, Platform? platform, AccessTokenStore? tokenStore})

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

agt({String? clientId, String? accessToken}) Future<String>
Issues temporary agt (access token-generated token), which can be used to acquire auth code.
hasToken() Future<bool>
Check OAuthToken is issued.
issueAccessToken(String authCode, {String? redirectUri, String? clientId}) Future<AccessTokenResponse>
Issues an access token from authCode acquired from AuthCodeClient.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
refreshAccessToken(String refreshToken, {String? redirectUri, String? clientId}) Future<AccessTokenResponse>
Issues a new access token from the given refresh token.
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

instance AuthApi
Default instance SDK provides.
final