페이지/영역: Capgo 마케팅 웹사이트. 역할: 웹사이트 복사 문장. 보이는 곳: component doc/SignupCta.astro, component Hero.astro. 메시지 키 `hero_subtitle_v2` (Hero Subtitle V2).
이 플러그인의 설치 단계와 전체 마크다운 가이드를 포함한 설정 지시를 복사하세요.
Set up this Capacitor plugin in the project.
Use the package manager already used by the project.
Install these package(s): `@capgo/capacitor-firebase-authentication`
Run the required Capacitor sync/update step after installation.
Read this markdown guide for the full setup steps: https://raw.githubusercontent.com/Cap-go/website/refs/heads/main/apps/docs/src/content/docs/docs/plugins/firebase-authentication/getting-started.mdx
Use that guide for platform-specific steps, native file edits, permissions, config changes, imports, and usage setup.
If that guide references other docs pages, read them too.
Capgo AI 도움을 받아 플러그인을 설치할 수 있습니다. 다음 명령어를 사용하여 AI 도구에 Capgo 기능을 추가하세요.
npx skills add https://github.com/Cap-go/capgo-skills --skill capacitor-plugins그런 다음 다음 프롬프트를 사용하세요.
Use the `capacitor-plugins` skill from `Cap-go/capgo-skills` to install the `@capgo/capacitor-firebase-authentication` plugin in my project.만약 수동 설치를 선호한다면, 다음 명령어를 실행하고 아래의 플랫폼별 지침을 따르세요.
bun add @capgo/capacitor-firebase-authenticationnpx cap sync수입
수입 섹션import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';빠른 시작
빠른 시작import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
await FirebaseAuthentication.applyActionCode({ oobCode: 'oob-code' });인증 초기화 예시: confirmPasswordReset
예제: confirmPasswordResetimport { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
await FirebaseAuthentication.confirmPasswordReset({ oobCode: 'oob-code', newPassword: 'new-password',});인증 확인 코드 확인
예제: 인증코드 확인import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
const result = await FirebaseAuthentication.confirmVerificationCode({ verificationId: 'phoneCodeSent', verificationCode: 'phoneCodeSent',});// The result holds sensitive values: use it without logging it.일반적인 함정
일반적인 함정- Listeners스크린이 언마운트 될 때 핸들러를 제거하세요.
- 네이티브 동기화: 실행
npx cap sync플러그인 업그레이드 후 - 실제 원천: 신뢰
src/definitions.tsGitHub 개요
제목 ‘API 개요’
API 개요applyActionCode
사용자에게 이메일로 보낸 인증 __CAPGO_KEEP_0__를 적용합니다.이메일로 보낸 인증 code을 적용합니다.
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
await FirebaseAuthentication.applyActionCode({ oobCode: 'oob-code' });confirmPasswordReset
제목 ‘confirmPasswordReset’비밀번호 초기화 과정을 완료합니다.
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
await FirebaseAuthentication.confirmPasswordReset({ oobCode: 'oob-code', newPassword: 'new-password',});confirmVerificationCode
인증 코드 확인전화번호 인증 과정을 완료합니다.
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
const result = await FirebaseAuthentication.confirmVerificationCode({ verificationId: 'phoneCodeSent', verificationCode: 'phoneCodeSent',});// The result holds sensitive values: use it without logging it.createUserWithEmailAndPassword
이메일과 비밀번호를 사용하여 새로운 사용자 계정을 생성합니다.
새로운 계정이 생성되면 사용자는 자동으로 로그인됩니다.사용자를 삭제하고 로그아웃합니다.
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
const result = await FirebaseAuthentication.createUserWithEmailAndPassword({ email: 'user@example.com', password: 'password',});// The result holds sensitive values: use it without logging it.deleteUser
이메일로 로그인한 사용자의 인증 방법을 가져옵니다.__CAPGO_KEEP_0__
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
await FirebaseAuthentication.deleteUser();fetchSignInMethodsForEmail
__CAPGO_KEEP_0__이메일 주소에 대한 로그인 방법을 가져옵니다.
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
const result = await FirebaseAuthentication.fetchSignInMethodsForEmail({ email: 'user@example.com' });console.log(result);getCurrentUser
getCurrentUser현재 로그인한 사용자를 가져옵니다.
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
const result = await FirebaseAuthentication.getCurrentUser();// The result holds sensitive values: use it without logging it.getPendingAuthResult
getPendingAuthResultReturns the SignInResult 안드로이드에서만 사용 가능합니다.
getIdToken
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
const result = await FirebaseAuthentication.getPendingAuthResult();// The result holds sensitive values: use it without logging it.getIdToken
현재 로그인한 사용자의 Firebase Auth ID 토큰을 가져옵니다.Copy to clipboard
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
const result = await FirebaseAuthentication.getIdToken();// The result holds sensitive values: use it without logging it.getIdTokenResult
getIdTokenResultJSON Web Token (JWT)으로 사용자를 식별하는 데 사용되는 사용자에 대한 디자일러 화일을 반환합니다.
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
const result = await FirebaseAuthentication.getIdTokenResult();// The result holds sensitive values: use it without logging it.getRedirectResult
getRedirectResultReturns the SignInResult redirect 기반 로그인 흐름에서.
웹 전용 SignInResult getTenantId
웹 환경에서만 사용 가능합니다.
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
const result = await FirebaseAuthentication.getRedirectResult();// The result holds sensitive values: use it without logging it.getTenantId
getTenantIdTenant ID를 가져오십시오.
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
const result = await FirebaseAuthentication.getTenantId();console.log(result);isSignInWithEmailLink
이메일 링크로 로그인하기Apple 인증 제공자와 사용자 계정을 연결합니다. signInWithEmailLink.
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
const result = await FirebaseAuthentication.isSignInWithEmailLink({ emailLink: 'https://example.com' });// The result holds sensitive values: use it without logging it.이메일 인증 제공자와 사용자 계정을 연결합니다.
Apple 인증 제공자와 사용자 계정을 연결합니다. skipNativeAuth 이메일 인증 제공자와 사용자 계정을 연결합니다.
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
const result = await FirebaseAuthentication.linkWithApple();// The result holds sensitive values: use it without logging it.linkWithEmailAndPassword
Tenant ID를 가져오십시오.클립보드에 복사
사용자는 네이티브 레이어에서 로그인되어야 합니다.
skipNativeAuth 이 설정 옵션은 여기에 영향을 미치지 않습니다.
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
const result = await FirebaseAuthentication.linkWithEmailAndPassword({ email: 'user@example.com', password: 'password',});// The result holds sensitive values: use it without logging it.linkWithEmailLink
링크 이메일 링크이메일 인증 제공자와 사용자 계정을 연결합니다.
사용자는 네이티브 레이어에서 로그인되어야 합니다.
skipNativeAuth 이 설정 옵션은 여기에 영향을 미치지 않습니다.
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
const result = await FirebaseAuthentication.linkWithEmailLink({ email: 'user@example.com', emailLink: 'https://example.com',});// The result holds sensitive values: use it without logging it.linkWithFacebook
링크 FacebookFacebook 인증 제공자와 사용자 계정을 연결합니다.
사용자는 네이티브 레이어에서 로그인되어야 합니다.
skipNativeAuth 이 설정 옵션은 여기에 영향을 미치지 않습니다.
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
const result = await FirebaseAuthentication.linkWithFacebook();// The result holds sensitive values: use it without logging it.linkWithGameCenter
Game Center와 연결Game Center 인증 제공자와 사용자 계정을 연결합니다.
native layer에서 로그인한 상태여야 합니다.
skipNativeAuth 이 설정 옵션은 여기에 영향을 미치지 않습니다.
iOS에서만 사용할 수 있습니다.
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
const result = await FirebaseAuthentication.linkWithGameCenter();// The result holds sensitive values: use it without logging it.linkWithGithub
GitHub과 연결GitHub 인증 제공자와 사용자 계정을 연결합니다.
native layer에서 로그인한 상태여야 합니다.
skipNativeAuth 이 설정 옵션은 여기에 영향을 미치지 않습니다.
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
const result = await FirebaseAuthentication.linkWithGithub();// The result holds sensitive values: use it without logging it.linkWithGoogle
Google과 연결하기Google 인증 제공자와 사용자 계정을 연결합니다.
native layer에서 로그인되어야 합니다.
skipNativeAuth 이 옵션은 이곳에 영향을 미치지 않습니다.
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
const result = await FirebaseAuthentication.linkWithGoogle();// The result holds sensitive values: use it without logging it.linkWithMicrosoft
Microsoft과 연결하기Microsoft 인증 제공자와 사용자 계정을 연결합니다.
native layer에서 로그인되어야 합니다.
skipNativeAuth 이 옵션은 이곳에 영향을 미치지 않습니다.
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
const result = await FirebaseAuthentication.linkWithMicrosoft();// The result holds sensitive values: use it without logging it.linkWithOpenIdConnect
OpenID Connect 제공자와 사용자 계정을 연결합니다.OpenID Connect
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
const result = await FirebaseAuthentication.linkWithOpenIdConnect({ providerId: 'provider-id-123' });// The result holds sensitive values: use it without logging it.linkWithPhoneNumber
전화번호 인증전화번호 인증 제공자와 사용자 계정을 연결합니다.
사용자는 네이티브层에서 로그인되어야 합니다.
skipNativeAuth 설정 옵션은 이곳에서 효과가 없습니다.
완료된 인증을 알리기 위해 phoneVerificationCompleted 실패한 인증을 알리기 위해 phoneVerificationFailed 인증 ID를 얻기 위해 phoneCodeSent Play Games 인증
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
await FirebaseAuthentication.linkWithPhoneNumber({ phoneNumber: "+16505550101" });linkWithPlayGames
Play Games 인증 제공자와 사용자 계정을 연결합니다.사용자 계정에 Play Games 인증 제공자와 연결합니다.
사용자는 네이티브层에서 로그인되어야 합니다.
skipNativeAuth 이 구성 옵션은 여기에 영향을 미치지 않습니다.
안드로이드만 지원합니다.
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
const result = await FirebaseAuthentication.linkWithPlayGames();// The result holds sensitive values: use it without logging it.linkWithTwitter
링크WithTwitter사용자 계정에 Twitter 인증 제공자를 연결합니다.
사용자는 네이티브层에서 로그인되어야 합니다.
skipNativeAuth 이 구성 옵션은 여기에 영향을 미치지 않습니다.
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
const result = await FirebaseAuthentication.linkWithTwitter();// The result holds sensitive values: use it without logging it.linkWithYahoo
링크WithYahoo사용자 계정에 Yahoo 인증 제공자를 연결합니다.
사용자는 네이티브层에서 로그인되어야 합니다.
skipNativeAuth 설정 옵션은 이곳에 영향을 미치지 않습니다.
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
const result = await FirebaseAuthentication.linkWithYahoo();// The result holds sensitive values: use it without logging it.reload
재로드사용자 계정 데이터를 재로드합니다. 로그인한 경우.
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
await FirebaseAuthentication.reload();revokeAccessToken
액세스 토큰을 취소합니다. 현재는 Apple OAuth 액세스 토큰만 지원합니다.현재 로그인한 사용자에게 인증 이메일을 보내줍니다.
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
await FirebaseAuthentication.revokeAccessToken({ token: 'token-123' });sendEmailVerification
현재 로그인한 사용자에게 비밀번호 재설정 이메일을 보내줍니다.configuration option has no effect here.
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
await FirebaseAuthentication.sendEmailVerification();sendPasswordResetEmail
Copy to clipboard비밀번호 재설정 이메일을 보냅니다.
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
await FirebaseAuthentication.sendPasswordResetEmail({ email: 'user@example.com' });sendSignInLinkToEmail
이메일 주소로 로그인 링크를 전송합니다.이메일 주소로 로그인 링크를 전송합니다.
이메일 주소와 이메일 링크를 전달하여 이메일 링크를 사용하여 로그인합니다. signInWithEmailLink 이메일 주소와 이메일 링크를 전달하여 이메일 링크를 사용하여 로그인합니다.
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
await FirebaseAuthentication.sendSignInLinkToEmail({ email: 'user@example.com', actionCodeSettings: { url: 'https://example.com' },});setLanguageCode
인증 연산에 사용되는 사용자 대면 언어를 설정합니다.사용자에게 보이는 언어를 설정합니다. code
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
await FirebaseAuthentication.setLanguageCode({ languageCode: "en-US" });setPersistence
Section titled “sendSignInLinkToEmail”Section titled “setLanguageCode”
웹 전용입니다.
import { FirebaseAuthentication, Persistence } from '@capgo/capacitor-firebase-authentication';
await FirebaseAuthentication.setPersistence({ persistence: Persistence.IndexedDbLocal });setTenantId
Capgo 마케팅 웹사이트의 페이지 agent에 표시됩니다.설정
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
await FirebaseAuthentication.setTenantId({ tenantId: 'tenant-id-123' });signInAnonymously
테넌트 ID를 설정합니다.설정
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
const result = await FirebaseAuthentication.signInAnonymously();// The result holds sensitive values: use it without logging it.signInWithApple
애플로 로그인합니다.설정
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
const result = await FirebaseAuthentication.signInWithApple();// The result holds sensitive values: use it without logging it.signInWithCustomToken
커스텀 토큰으로 로그인합니다.시작 토큰 인증 흐름을 시작합니다.
이 메소드는 다른 메소드와 함께 사용할 수 없습니다. skipNativeAuth Copy to clipboard signInWithCustomToken Firebase JS SDK와 직접 인터페이스합니다.
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
const result = await FirebaseAuthentication.signInWithCustomToken({ token: 'token-123' });// The result holds sensitive values: use it without logging it.signInWithEmailAndPassword
signInWithEmailLink이메일과 로그인 이메일 링크를 사용하여 로그인합니다.
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
const result = await FirebaseAuthentication.signInWithEmailAndPassword({ email: 'user@example.com', password: 'password',});// The result holds sensitive values: use it without logging it.signInWithEmailLink
signInWithFacebook페이스북을 사용하여 로그인합니다.
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
const result = await FirebaseAuthentication.signInWithEmailLink({ email: 'user@example.com', emailLink: 'https://example.com',});// The result holds sensitive values: use it without logging it.signInWithFacebook
Copy to clipboardFacebook 로그인 흐름을 시작합니다.
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
const result = await FirebaseAuthentication.signInWithFacebook();// The result holds sensitive values: use it without logging it.signInWithGameCenter
게임 센터 로그인iOS에서만 사용 가능합니다.
GitHub 로그인
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
const result = await FirebaseAuthentication.signInWithGameCenter();// The result holds sensitive values: use it without logging it.signInWithGithub
__CAPGO_KEEP_0__ 로그인시작하는 GitHub 로그인 흐름을 시작합니다.
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
const result = await FirebaseAuthentication.signInWithGithub();// The result holds sensitive values: use it without logging it.signInWithGoogle
시작합니다.시작합니다.
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
const result = await FirebaseAuthentication.signInWithGoogle();// The result holds sensitive values: use it without logging it.signInWithMicrosoft
Microsoft 로그인 시작Microsoft 로그인 흐름을 시작합니다.
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
const result = await FirebaseAuthentication.signInWithMicrosoft();// The result holds sensitive values: use it without logging it.signInWithOpenIdConnect
OpenID Connect 로그인 시작전화번호 로그인 시작
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
const result = await FirebaseAuthentication.signInWithOpenIdConnect({ providerId: 'provider-id-123' });// The result holds sensitive values: use it without logging it.signInWithPhoneNumber
인증 완료 알림을 받기 위해 인증 실패 알림을 받기 위해
인증 ID를 가져오기 위해 phoneVerificationCompleted Section titled “signInWithApple” phoneVerificationFailed Section titled “signInWithGoogle” phoneCodeSent Section titled “signInWithFacebook”
Android 및 iOS에서만 사용 가능합니다.
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
await FirebaseAuthentication.signInWithPhoneNumber({ phoneNumber: "+16505550101" });signInWithPlayGames
signInWithPlayGamesPlay Games 로그인 흐름을 시작합니다.
Android에서만 사용 가능합니다.
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
const result = await FirebaseAuthentication.signInWithPlayGames();// The result holds sensitive values: use it without logging it.signInWithTwitter
signInWithTwitterTwitter 로그인 흐름을 시작합니다.
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
const result = await FirebaseAuthentication.signInWithTwitter();// The result holds sensitive values: use it without logging it.signInWithYahoo
signInWithYahooYahoo 로그인 흐름을 시작합니다.
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
const result = await FirebaseAuthentication.signInWithYahoo();// The result holds sensitive values: use it without logging it.signOut
로그아웃로그아웃 흐름을 시작합니다.
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
await FirebaseAuthentication.signOut();unlink
로그아웃서비스 제공자와 사용자 계정의 연결을 끊습니다.
import { FirebaseAuthentication, ProviderId } from '@capgo/capacitor-firebase-authentication';
const result = await FirebaseAuthentication.unlink({ providerId: ProviderId.APPLE });// The result holds sensitive values: use it without logging it.updateEmail
현재 로그인한 사용자의 이메일 주소를 업데이트합니다.현재 로그인한 사용자의 비밀번호를 업데이트합니다.
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
await FirebaseAuthentication.updateEmail({ newEmail: 'user@example.com' });updatePassword
Section titled “signOut”Section titled “unlink”
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
await FirebaseAuthentication.updatePassword({ newPassword: 'new-password' });updateProfile
업데이트 프로필사용자의 프로필 데이터를 업데이트합니다.
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
await FirebaseAuthentication.updateProfile({ displayName: 'display', photoUrl: 'https://example.com',});useAppLanguage
페이지: Capgo 마케팅 웹사이트. 역할: UI 레이블. 표시되는 곳: page agents/[slug].astro. 메시지 키 `agents_page_copy_label` (Agents Page Copy Label).Sets the user-facing language code to be the default app language.
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
await FirebaseAuthentication.useAppLanguage();임베디드 앱
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
await FirebaseAuthentication.useEmulator({ host: "127.0.0.1" });verifyBeforeUpdateEmail
인증 에뮬레이터와 대화하기 위해 앱을 구성합니다.이메일 인증
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
await FirebaseAuthentication.verifyBeforeUpdateEmail({ newEmail: 'user@example.com' });checkAppTrackingTransparencyPermission
iOS 앱 추적성 투명성 확인앱 추적성 투명성의 현재 상태를 확인합니다.
iOS에서만 사용 가능합니다.
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
const result = await FirebaseAuthentication.checkAppTrackingTransparencyPermission();console.log(result);requestAppTrackingTransparencyPermission
iOS 앱 추적성 투명성 요청앱 추적성 투명성을 허용하도록 시스템 대화 상자를 열어줍니다.
주의: 사용자는 장치 설정에서 추적 요청을 비활성화할 수 있습니다. 자세한 내용은 Apple의 문서.
iOS에서만 사용 가능합니다.
import { FirebaseAuthentication } from '@capgo/capacitor-firebase-authentication';
const result = await FirebaseAuthentication.requestAppTrackingTransparencyPermission();console.log(result);타입 참조
타입 참조ApplyActionCodeOptions
액션 코드 적용 옵션export interface ApplyActionCodeOptions { /** * A verification code sent to the user. * * @since 0.2.2 */ oobCode: string;}ConfirmPasswordResetOptions
인증 비밀번호 확인 옵션export interface ConfirmPasswordResetOptions { /** * A verification code sent to the user. * * @since 0.2.2 */ oobCode: string; /** * The new password. * * @since 0.2.2 */ newPassword: string;}ConfirmVerificationCodeOptions
인증 코드 확인 옵션export interface ConfirmVerificationCodeOptions { /** * The verification ID received from the `phoneCodeSent` listener. * * The `verificationCode` option must also be provided. * * @since 5.0.0 */ verificationId: string; /** * The verification code either received from the `phoneCodeSent` listener or entered by the user. * * The `verificationId` option must also be provided. * * @since 5.0.0 */ verificationCode: string;}SignInResult
로그인 결과export interface SignInResult { /** * The currently signed-in user, or null if there isn't any. * * @since 0.1.0 */ user: User | null; /** * Credentials returned by an auth provider. * * @since 0.1.0 */ credential: AuthCredential | null; /** * Additional user information from a federated identity provider. * * @since 0.5.1 */ additionalUserInfo: AdditionalUserInfo | null;}CreateUserWithEmailAndPasswordOptions
사용자 생성 옵션export interface CreateUserWithEmailAndPasswordOptions { /** * @since 0.2.2 */ email: string; /** * @since 0.2.2 */ password: string;}FetchSignInMethodsForEmailOptions
이메일로 로그인 방법 가져오기 옵션export interface FetchSignInMethodsForEmailOptions { /** * The user's email address. * * @since 6.0.0 */ email: string;}FetchSignInMethodsForEmailResult
FetchSignInMethodsForEmailResult 섹션export interface FetchSignInMethodsForEmailResult { /** * The sign-in methods for the specified email address. * * This list is empty when [Email Enumeration Protection](https://cloud.google.com/identity-platform/docs/admin/email-enumeration-protection) * is enabled, irrespective of the number of authentication methods available for the given email. * * @since 6.0.0 */ signInMethods: string[];}GetCurrentUserResult
GetCurrentUserResult 섹션export interface GetCurrentUserResult { /** * The currently signed-in user, or null if there isn't any. * * @since 0.1.0 */ user: User | null;}GetIdTokenOptions
GetIdTokenOptions 섹션export interface GetIdTokenOptions { /** * Force refresh regardless of token expiration. * * @since 0.1.0 */ forceRefresh: boolean;}GetIdTokenResult
GetIdTokenResult 섹션export interface GetIdTokenResult { /** * The Firebase Auth ID token JWT string. * * @since 0.1.0 */ token: string;}GetIdTokenResultOptions
GetIdTokenResultOptions 섹션export interface GetIdTokenResultOptions { /** * Force refresh regardless of token expiration. * * @since 7.4.0 */ forceRefresh: boolean;}GetIdTokenResultResult
GetIdTokenResultResult 섹션export interface GetIdTokenResultResult { /** * The authentication time in milliseconds since the epoch. * * This is the time the user authenticated (signed in) and not the time the token was refreshed. * * @since 7.4.0 */ authTime: number; /** * The ID token expiration time in milliseconds since the epoch. * * @since 7.4.0 */ expirationTime: number; /** * The ID token issuance time in milliseconds since the epoch. * * @since 7.4.0 */ issuedAtTime: number; /** * The sign-in provider through which the ID token was obtained. * * @since 7.4.0 */ signInProvider: string | null; /** * The type of second factor associated with this session, provided the user was multi-factor * authenticated (eg. phone, etc). * * @since 7.4.0 */ signInSecondFactor: string | null; /** * The entire payload claims of the ID token including the standard reserved claims as well as * the custom claims. * * @since 7.4.0 */ claims: Record<string, unknown>;}실질적인 출처
실질적인 출처이 페이지는 플러그인의 src/definitions.ts다시 싱크를 실행할 때 공개 API upstream에서 변경되면.
시작부터 계속
시작부터 계속인증 및 계정 흐름을 계획하고 있는 경우 시작 인증 및 계정 흐름을 계획하고 있는 경우 @capgo/capacitor-social-login @capgo/capacitor-social-login @capgo/capacitor-passkey @capgo/capacitor-passkey @capgo/capacitor-native-biometric @capgo/capacitor-native-biometric 두 단계 인증 두 단계 인증, 그리고 SSO (기업) SSO (기업)에 대한 구현 세부 정보.