Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "Session/DataAccess"

Index

Variables

CLIENT_SESSION_KEY

CLIENT_SESSION_KEY: "client_session" = "client_session"

SETTINGS_KEY

SETTINGS_KEY: "settings" = "settings"

USER_SESSION_KEY

USER_SESSION_KEY: "user_session" = "user_session"

Functions

authOnSso

deleteAccount

  • deleteAccount(id: string, hash: string): Promise<void>

getClientSession

  • getClientSession(): Promise<Session>

getFreshSessionFromCache

  • getFreshSessionFromCache(cacheKey: string): Promise<Session | null>

getSessionWithDeviceId

  • getSessionWithDeviceId(deviceId: string, devicePlatform: string): Promise<AuthResponse>

getSessionWithJwt

  • getSessionWithJwt(jwt: string, deviceId?: undefined | string, devicePlatform?: undefined | string): Promise<AuthResponse>

getSessionWithPassword

  • getSessionWithPassword(email: string, password: string, deviceId?: undefined | string, devicePlatform?: undefined | string): Promise<AuthResponse>
  • Parameters

    • email: string
    • password: string
    • Optional deviceId: undefined | string
    • Optional devicePlatform: undefined | string

    Returns Promise<AuthResponse>

getSessionWithRefreshToken

  • getSessionWithRefreshToken(token: string): Promise<AuthResponse>

getSessionWithThirdPartyAuth

  • getSessionWithThirdPartyAuth(type: ThirdPartyAuthType, accessToken: string | null, deviceId?: undefined | string, devicePlatform?: undefined | string): Promise<AuthResponse>

getUserInfo

getUserSession

  • getUserSession(): Promise<Session | null>

getUserSettings

getUserSettingsFromApi

  • getUserSettingsFromApi(): Promise<any>

handleSettingsChange

  • handleSettingsChange(): Promise<void>

registerUser

requestCancelAccount

  • requestCancelAccount(): Promise<void>

resetPassword

setPrivacyConsent

setUserSession

  • setUserSession(session: Session | null): Promise<void>

unsubscribeEmail

updateUserSettings

Generated using TypeDoc