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

constructor

Properties

Static SessionAuth

SessionAuth: FC<Props> = SessionAuthWrapper

Static useSessionContext

useSessionContext: () => SessionContextType = useSessionContextFunc

Type declaration

Methods

Static addAxiosInterceptors

  • addAxiosInterceptors(axiosInstance: any): void

Static attemptRefreshingSession

  • attemptRefreshingSession(): Promise<boolean>

Static doesSessionExist

  • doesSessionExist(): Promise<boolean>

Static getJWTPayloadSecurely

  • getJWTPayloadSecurely(): Promise<any>

Static getUserId

  • getUserId(): Promise<string>

Static init

  • init(config?: InputType): CreateRecipeFunction<unknown, unknown, unknown, any>

Static signOut

  • signOut(): Promise<void>

Generated using TypeDoc