These are the SDK reference docs. If you’re looking for docs to implement SuperTokens, you might want to check out the User Guides

Hierarchy

  • default

Index

Constructors

Properties

SessionAuth: FC<PropsWithChildren<PropsWithoutAuth & { onSessionExpired?: any } & { userContext?: any } & PropsWithAuth & { onSessionExpired?: any } & { userContext?: any }>> = SessionAuthWrapper
useSessionContext: (() => SessionContextType) = useSessionContextFunc

Type declaration

Methods

  • addAxiosInterceptors(axiosInstance: any, userContext?: any): void
  • attemptRefreshingSession(): Promise<boolean>
  • doesSessionExist(input?: { userContext?: any }): Promise<boolean>
  • getAccessTokenPayloadSecurely(input?: { userContext?: any }): Promise<any>
  • getUserId(input?: { userContext?: any }): Promise<string>
  • init(config?: InputType): CreateRecipeFunction<unknown, unknown, unknown, any>
  • signOut(input?: { userContext?: any }): Promise<void>

Generated using TypeDoc