Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface AuthClientLoginOptions

Hierarchy

  • AuthClientLoginOptions

Index

Properties

identityProvider?: string | URL

Identity provider

default

"https://identity.ic0.app"

maxTimeToLive?: bigint

Expiration of the authentication in nanoseconds

default

BigInt(8) hours * BigInt(3_600_000_000_000) nanoseconds

onError?: ((error?: string) => void) | ((error?: string) => Promise<void>)

Callback in case authentication fails

onSuccess?: (() => void) | (() => Promise<void>)

Callback once login has completed

windowOpenerFeatures?: string

Auth Window feature config string

example

"toolbar=0,location=0,menubar=0,width=500,height=500,left=100,top=100"

Generated using TypeDoc