Interface Auth0WidgetStatic

Index

Construct signatures

Methods

Construct signatures

constructor(params: Auth0Constructor): Auth0WidgetStatic

Parameters

Returns

Auth0WidgetStatic

Methods

public getClient(): Auth0Static

Returns

Auth0Static

public getProfile(token: string, callback: Function): Auth0UserProfile

Parameters

  • token: string
  • callback: Function

Returns

Auth0UserProfile

public parseHash(hash: string): Auth0DecodedHash

Parameters

  • hash: string

Returns

Auth0DecodedHash

public reset(options: Auth0Options, callback?: Function): Auth0WidgetStatic

Parameters

Returns

Auth0WidgetStatic

public signin(options: Auth0Options, widgetLoadedCallback?: Function, popupCallback?: Function): Auth0WidgetStatic

Parameters

  • options: Auth0Options
  • widgetLoadedCallback?: Function optional
  • popupCallback?: Function optional

Returns

Auth0WidgetStatic

public signup(options: Auth0Options, callback: (error?: Auth0Error, profile?: Auth0UserProfile, id_token?: string, access_token?: string, state?: string) => any): Auth0WidgetStatic

Parameters

  • options: Auth0Options
  • callback: (error?: Auth0Error, profile?: Auth0UserProfile, id_token?: string, access_token?: string, state?: string) => any

Returns

Auth0WidgetStatic