Skip to content

Documentation / expo / PrivyContext

Type alias: PrivyContext

PrivyContext: Object

Type declaration

client

client: OAuthProviderType

createSolanaWalletCallbacks

createSolanaWalletCallbacks: React.MutableRefObject<SolanaWalletRecoveryCallbacks | undefined>

createWalletCallbacks

createWalletCallbacks: React.MutableRefObject<WalletRecoveryCallbacks | undefined>

farcasterState

farcasterState: FarcasterFlowState

getAccessToken

getAccessToken: () => Promise<string | null>

Returns

Promise<string | null>

getIdentityToken

getIdentityToken: () => Promise<string | null>

Returns

Promise<string | null>

isReady

isReady: boolean

logout

logout: () => Promise<void>

Returns

Promise<void>

oAuthCallbacks

oAuthCallbacks: React.MutableRefObject<OAuthHookOptions | undefined>

oAuthState

oAuthState: OAuthFlowState

oAuthStateRef

oAuthStateRef: React.MutableRefObject<Object>

Type declaration

disableSignup?

disableSignup?: boolean

otpState

otpState: OtpFlowState

passkeyState

passkeyState: PasskeyFlowState

recoverSolanaWalletCallbacks

recoverSolanaWalletCallbacks: React.MutableRefObject<SolanaWalletRecoveryCallbacks | undefined>

recoverWalletCallbacks

recoverWalletCallbacks: React.MutableRefObject<WalletRecoveryCallbacks | undefined>

recoveryFlowState

recoveryFlowState: RecoveryFlowState

setFarcasterState

setFarcasterState: React.Dispatch<React.SetStateAction<FarcasterFlowState>>

setOAuthState

setOAuthState: React.Dispatch<React.SetStateAction<OAuthFlowState>>

setOtpState

setOtpState: React.Dispatch<React.SetStateAction<OtpFlowState>>

setPasskeyState

setPasskeyState: React.Dispatch<React.SetStateAction<PasskeyFlowState>>

setRecoveryFlowState

setRecoveryFlowState: React.Dispatch<React.SetStateAction<RecoveryFlowState>>

setSiweState

setSiweState: React.Dispatch<React.SetStateAction<SiweFlowState>>

setSolanaRecoveryFlowState

setSolanaRecoveryFlowState: React.Dispatch<React.SetStateAction<RecoveryFlowState>>

setWalletRecoveryCallbacks

setWalletRecoveryCallbacks: React.MutableRefObject<WalletRecoveryCallbacks | undefined>

siweState

siweState: SiweFlowState

solanaRecoveryFlowState

solanaRecoveryFlowState: RecoveryFlowState

solanaWallet

solanaWallet: EmbeddedSolanaWalletState

user

user: PrivyUser | null

wallet

wallet: EmbeddedWalletState