import { OAuthCredential } from '../credentials'; import type { AppleFullPersonName } from '../types/auth'; /** * @deprecated Use {@link OAuthProvider} with provider ID `apple.com` instead. * * @example * ```js * const provider = new OAuthProvider('apple.com'); * const credential = provider.credential({ idToken, rawNonce, fullName }); * ``` */ export default class AppleAuthProvider { constructor(); static get PROVIDER_ID(): "apple.com"; /** * @param token The Apple identity token. * @param secret The raw nonce used to obtain the identity token. * @param fullName The user's full name, as shared by Sign in with Apple on the user's first * authorization. See {@link OAuthCredentialOptions.fullName} for platform support. */ static credential(token: string, secret?: string, fullName?: AppleFullPersonName): OAuthCredential; } //# sourceMappingURL=AppleAuthProvider.d.ts.map