package auth

import "errors"

var (
	// ErrOAuthProviderNotSupported OAuth提供商不支持
	ErrOAuthProviderNotSupported = errors.New("OAuth provider not supported")

	// ErrOAuthCodeInvalid OAuth授权码无效
	ErrOAuthCodeInvalid = errors.New("OAuth authorization code is invalid")

	// ErrOAuthTokenExpired OAuth令牌已过期
	ErrOAuthTokenExpired = errors.New("OAuth token has expired")

	// ErrOAuthUserInfoFailed 获取OAuth用户信息失败
	ErrOAuthUserInfoFailed = errors.New("failed to get OAuth user info")

	// ErrOAuthStateInvalid OAuth状态验证失败
	ErrOAuthStateInvalid = errors.New("OAuth state validation failed")

	// ErrOAuthAlreadyBound 社交账号已绑定
	ErrOAuthAlreadyBound = errors.New("social account already bound")

	// ErrOAuthNotFound 未找到绑定的社交账号
	ErrOAuthNotFound = errors.New("social account not found")
)
