unlink method
애플 연결 해제 (서버사이드에서만 가능)
Implementation
@override
Future<AuthResult> unlink() async {
// Apple은 클라이언트에서 연결 해제를 지원하지 않음
// 서버에서 Apple REST API를 통해 처리해야 함
return ErrorMapper.toFailure(
AuthProvider.apple,
KAuthError(
code: ErrorCodes.providerNotSupported,
message: 'Apple은 클라이언트에서 연결 해제를 지원하지 않습니다.',
hint: '서버에서 Apple REST API를 통해 처리하세요.',
docs:
'https://developer.apple.com/documentation/sign_in_with_apple/revoke_tokens',
),
);
}