Function
Static Public Summary | ||
public |
Factory method for session creation |
|
public |
getAuthProviders(wacUri: string): Promise<ProviderInfo[]> Allows obtaining the available providers enabled in the specified WAC instance |
|
public |
recoverSession(token: string, config: Object): Promise<Session> Factory method for session creation |
Static Public
public createSession(issuer: string, token: string, config: Object): Promise<Session> source
import {createSession} from '@quobis/sippojs'
Factory method for session creation
Params:
Name | Type | Attribute | Description |
issuer | string | The authorization token issuer identifier |
|
token | string | The authorization token from the given issuer |
|
config | Object | Session configuration |
|
config.wacUri | string | The address where the WAC is available |
|
config.applicationToken | string | A token for the application |
|
config.deviceId | string | string which identifies the device this session belongs to |
public getAuthProviders(wacUri: string): Promise<ProviderInfo[]> source
import {getAuthProviders} from '@quobis/sippojs'
Allows obtaining the available providers enabled in the specified WAC instance
Params:
Name | Type | Attribute | Description |
wacUri | string | The address where the WAC is available |
public recoverSession(token: string, config: Object): Promise<Session> source
import {recoverSession} from '@quobis/sippojs'
Factory method for session creation
Params:
Name | Type | Attribute | Description |
token | string | The authorization token |
|
config | Object | Session configuration |
|
config.wacUri | string | The address where the WAC is available |
|
config.applicationToken | string | A token for the application |
|
config.deviceId | string | string which identifies the device this session belongs to |