AuthApi class

Provides Kakao OAuth API.

Constructors

AuthApi({Dio? dio, Platform? platform, TokenManagerProvider? tokenManagerProvider})

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, String? codeVerifier}) Future<OAuthToken>
Issues an access token from authCode acquired from AuthCodeClient.
issueAccessTokenWithCert(String authCode, {String? redirectUri, String? clientId, String? codeVerifier}) Future<CertTokenInfo>
Issues an access token from authCode acquired from AuthCodeClient.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
refreshAccessToken(OAuthToken oldToken, {String? redirectUri, String? clientId}) Future<OAuthToken>
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