Home Reference Source
public class | source

SalteAuthProfile

All the profile information associated with the current authentication session

Constructor Summary

Public Constructor
public

constructor(config: Config)

Parses the current url for the authentication values

Member Summary

Public Members
public

Whether the Access Token has expired

public

Whether the ID Token has expired

public

The parsed user information from the id token

Method Summary

Public Methods
public

Checks for a hash / query params, parses it, and removes it.

Public Constructors

public constructor(config: Config) source

Parses the current url for the authentication values

Params:

NameTypeAttributeDescription
config Config

configuration for salte auth

Public Members

public accessTokenExpired: Boolean: * source

Whether the Access Token has expired

Return:

Boolean

true if the "access_token" has expired

public idTokenExpired: Boolean: * source

Whether the ID Token has expired

Return:

Boolean

true if the "id_token" has expired

public userInfo: Object source

The parsed user information from the id token

Public Methods

public $parseParams() source

Checks for a hash / query params, parses it, and removes it.