Capacitor plugin for Ory Identity Platform
npm install @frnd/capacitor-ory-auth
npx cap sync
initialize(options?: OryAuthOptions | undefined) => void
Param | Type |
---|---|
options |
OryAuthOptions |
session() => Promise<unknown>
Returns: Promise<unknown>
signIn(options: SignInOptions) => Promise<SignInResult>
Param | Type |
---|---|
options |
SignInOptions |
Returns: Promise<SignInResult>
verify(options: VerifyOptions) => Promise<unknown>
Param | Type |
---|---|
options |
VerifyOptions |
Returns: Promise<unknown>
logIn(options: LogInOptions) => Promise<unknown>
Param | Type |
---|---|
options |
LogInOptions |
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 |