AuthErrorCause enum Null safety

KakaoAuthException의 발생 원인

Constants

accessDenied → const AuthErrorCause

접근이 거부 됨 (동의 취소)

@JsonValue("access_denied")
const AuthErrorCause(6)
invalidClient → const AuthErrorCause

유효하지 않은 앱

@JsonValue("invalid_client")
const AuthErrorCause(1)
invalidGrant → const AuthErrorCause

인증 수단이 유효하지 않아 인증할 수 없는 상태

@JsonValue("invalid_grant")
const AuthErrorCause(3)
invalidRequest → const AuthErrorCause

요청 파라미터 오류

@JsonValue("invalid_request")
const AuthErrorCause(0)
invalidScope → const AuthErrorCause

유효하지 않은 scope ID

@JsonValue("invalid_scope")
const AuthErrorCause(2)
misconfigured → const AuthErrorCause

설정이 올바르지 않음 (android key hash 또는 redirect uri).

@JsonValue("misconfigured")
const AuthErrorCause(4)
serverError → const AuthErrorCause

서버 내부 에러

@JsonValue("server_error")
const AuthErrorCause(7)
unauthorized → const AuthErrorCause

앱이 요청 권한이 없음

@JsonValue("unauthorized")
const AuthErrorCause(5)
unknown → const AuthErrorCause

기타 에러

const AuthErrorCause(8)
values → const List<AuthErrorCause>

A constant List of the values in this enum, in order of their declaration.

const List<AuthErrorCause>

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
index int

The integer index of this enum.

final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
override

Operators

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