Module

auth-store

Methods

# async inner buildUserInfos()

Those informations are stored locally (client-cache) 21-01-22: API check_token "token" should override existing token (To handle rights when redirecting applications, for example: V3 -> Citifret)

To Do:
  • Refactor or replace by syncLoggedUsingExistingInfos

View Source store/auth/index.js, line 580

# async inner getUserRightsNew(jwt)

Parameters:
Name Type Description
jwt String

View Source store/auth/index.js, line 554

# inner login()

Start a new session with login/password

View Source store/auth/index.js, line 453

# inner newState() → {Object}

To Do:
  • Normalize attribute names (underscore -> snake case)

View Source store/auth/index.js, line 32

new state

Object

# inner syncLogged()

Sync session from local cache

View Source store/auth/index.js, line 337

# inner syncLoggedUsingExistingInfos()

Set a new session on the fly. It will retrieve rights from API.

Parameters:
Name Type Description
payload.userInfos Object

new session information

View Source store/auth/index.js, line 314

Methods

# async inner buildUserInfos()

Those informations are stored locally (client-cache) 21-01-22: API check_token "token" should override existing token (To handle rights when redirecting applications, for example: V3 -> Citifret)

To Do:
  • Refactor or replace by syncLoggedUsingExistingInfos

View Source store/auth/index.js, line 580

# async inner getUserRightsNew(jwt)

Parameters:
Name Type Description
jwt String

View Source store/auth/index.js, line 554

# inner login()

Start a new session with login/password

View Source store/auth/index.js, line 453

# inner newState() → {Object}

To Do:
  • Normalize attribute names (underscore -> snake case)

View Source store/auth/index.js, line 32

new state

Object

# inner syncLogged()

Sync session from local cache

View Source store/auth/index.js, line 337

# inner syncLoggedUsingExistingInfos()

Set a new session on the fly. It will retrieve rights from API.

Parameters:
Name Type Description
payload.userInfos Object

new session information

View Source store/auth/index.js, line 314