Skip to main content

AuthenticatedSession

AuthenticatedSession​

An AuthenticatedSession is created upon successful authentication.

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

constructor​

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

user​

property

The User who has authenticated to create this session.

authenticationStrategy​

property
string

The name of the AuthenticationStrategy used when authenticating to create this session.