Capacitor plugin for Ory Identity Platform
npm install @frnd/capacitor-ory-auth
npx cap sync
initialize(options?: OryAuthOptions | undefined) => void
session() => Promise<unknown>
Returns: Promise<unknown>
signIn(options: SignInOptions) => Promise<SignInResult>
Returns: Promise<SignInResult>
verify(options: VerifyOptions) => Promise<unknown>
Returns: Promise<unknown>
logIn(options: LogInOptions) => Promise<unknown>
Returns: Promise<unknown>
logOut() => Promise<unknown>
Returns: Promise<unknown>
Prop |
Type |
basePath |
string |
withCredentials |
boolean |
timeout |
number |
Prop |
Type |
verificationFlowId |
string |
Prop |
Type |
password |
string |
traits |
{ email: string; } |
Prop |
Type |
id |
string |
code |
string |
email |
string |
Prop |
Type |
identifier |
string |
password |
string |