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<Props>> = SessionAuthWrapper
useSessionContext: () => SessionContextType = useSessionContextFunc

Type declaration

Methods

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

Generated using TypeDoc