AuthenticatedSession

AuthenticatedSession

AuthenticatedSession

An AuthenticatedSession is created upon successful authentication.

Signature

class AuthenticatedSession extends Session {
  constructor(input: DeepPartial<AuthenticatedSession>)
  @ManyToOne(type => User)
    user: User;
  @Column()
    authenticationStrategy: string;
}

Extends

Members

constructor

method
type:
(input: DeepPartial<AuthenticatedSession>) => AuthenticatedSession

user

property
type:
User
The User who has authenticated to create this session.

authenticationStrategy

property
type:
string
The name of the AuthenticationStrategy used when authenticating to create this session.