AuthToken class
카카오 로그인을 통해 발급 받은 토큰 정보입니다. 이 토큰을 이용하여 로그인 기반 API를 호출할 수 있습니다.
Constructors
-
AuthToken.fromJson(Map<
String, dynamic> json) -
factory
Properties
- accessToken → String
-
액세스 토큰
final
- expiredAt → DateTime
-
액세스 토큰의 만료 시각
final
- expiresIn → int?
-
액세스 토큰의 남은 만료시간 (단위: 초)
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- refreshToken → String
-
리프레시 토큰
final
- refreshTokenExpiredAt → DateTime
-
리프레시 토큰의 만료 시각
final
- refreshTokenExpiresIn → int?
-
리프레시 토큰의 남은 만료시간 (단위: 초)
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scope → String?
-
현재까지 사용자로부터 획득에 성공한 scope 정보 (공백으로 구분됨)
final
-
scopes
→ List<
String> ? -
현재까지 사용자로부터 획득에 성공한 scope 목록
final
- tokenType → String
-
토큰 타입. 현재는 "Bearer" 타입만 사용됩니다.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited