Skip to main content

Class: UserLoginDataResponse

api-login/auth/dto/user-login-data.dto.UserLoginDataResponse

Constructors

constructor

new UserLoginDataResponse()

Properties

description

description: string

A description of the authentication

Defined in

gropius-login-service/backend/src/api-login/auth/dto/user-login-data.dto.ts:43


expires

expires: Date

If not null, this authentication should be considered invalid on any date+time AFTER this. This is to ensure created UserLoginData, that are not used for registration or linking in time, are not kept forever.

If null, the authentication should not expire by date.

Defined in

gropius-login-service/backend/src/api-login/auth/dto/user-login-data.dto.ts:31


id

id: string

The unique ID of this login data

Example

12345678-90ab-cdef-fedc-ab0987654321

Defined in

gropius-login-service/backend/src/api-login/auth/dto/user-login-data.dto.ts:10


state

state: LoginState

The state this authentication is in.

Rules:

Example

"VALID"

Defined in

gropius-login-service/backend/src/api-login/auth/dto/user-login-data.dto.ts:22


strategyInstance

strategyInstance: StrategyInstance

The strategy instance this authentication uses.

For example a UserLoginData containing a password would reference a strategy instance of type userpass

Defined in

gropius-login-service/backend/src/api-login/auth/dto/user-login-data.dto.ts:38