AuthApi class

Kakao SDK의 카카오 로그인 내부 동작에 사용되는 클라이언트

Constructors

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

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

codeForWeb({required String stateToken, required String kaHeader}) → Future<String>
hasToken() → Future<bool>
사용자가 앞서 로그인을 통해 토큰을 발급 받은 상태인지 확인합니다. 주의: 기존 토큰 존재 여부를 확인하는 기능으로, 사용자가 현재도 로그인 상태임을 보장하지 않습니다.
issueAccessToken({required String authCode, String? redirectUri, String? appKey, String? codeVerifier}) → Future<OAuthToken>
사용자 인증코드(authCode)를 이용하여 신규 토큰 발급을 요청합니다. codeVerifier는 사용자 인증 코드 verifier로 사용합니다.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
prepare({required CertType certType, String? settleId, String? signData, String? txId}) → Future<String>
refreshAccessToken({required OAuthToken oldToken, String? redirectUri, String? appKey}) → Future<OAuthToken>
기존 토큰(oldToken)을 갱신합니다.
refreshToken({OAuthToken? oldToken, String? redirectUri, String? appKey}) → Future<OAuthToken>
기존 토큰(oldToken)을 갱신합니다.
toString() → String
A string representation of this object.
inherited

Operators

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

Static Properties

instance AuthApi
final