frontend
Preparing search index...
auth/auth.service
AuthService
Class AuthService
Index
Constructors
constructor
Properties
session
state
Methods
accept
Authentication
activate
Invitation
complete
Recovery
has
Capability
initialize
login
logout
mark
Anonymous
prepare
Invitation
prepare
Recovery
start
Demo
Session
Constructors
constructor
new
AuthService
()
:
AuthService
Returns
AuthService
Properties
Readonly
session
session
:
WritableSignal
<
SessionResponse
|
null
>
= ...
Readonly
state
state
:
WritableSignal
<
AuthState
>
= ...
Methods
accept
Authentication
acceptAuthentication
()
:
Observable
<
SessionResponse
>
Returns
Observable
<
SessionResponse
>
activate
Invitation
activateInvitation
(
token
:
string
,
password
:
string
,
totpSecret
:
string
,
totpCode
:
string
,
)
:
Observable
<
AuthCompletion
>
Parameters
token
:
string
password
:
string
totpSecret
:
string
totpCode
:
string
Returns
Observable
<
AuthCompletion
>
complete
Recovery
completeRecovery
(
token
:
string
,
password
:
string
,
totpSecret
:
string
,
totpCode
:
string
,
)
:
Observable
<
AuthCompletion
>
Parameters
token
:
string
password
:
string
totpSecret
:
string
totpCode
:
string
Returns
Observable
<
AuthCompletion
>
has
Capability
hasCapability
(
capability
:
string
)
:
boolean
Parameters
capability
:
string
Returns
boolean
initialize
initialize
()
:
Observable
<
boolean
>
Returns
Observable
<
boolean
>
login
login
(
email
:
string
,
password
:
string
,
secondFactor
:
string
,
)
:
Observable
<
{
account_id
:
number
;
authenticated
:
true
;
expires_at
:
string
}
,
>
Parameters
email
:
string
password
:
string
secondFactor
:
string
Returns
Observable
<
{
account_id
:
number
;
authenticated
:
true
;
expires_at
:
string
}
>
logout
logout
()
:
Observable
<
void
>
Returns
Observable
<
void
>
mark
Anonymous
markAnonymous
()
:
void
Returns
void
prepare
Invitation
prepareInvitation
(
token
:
string
)
:
Observable
<
AuthPreparation
>
Parameters
token
:
string
Returns
Observable
<
AuthPreparation
>
prepare
Recovery
prepareRecovery
(
token
:
string
)
:
Observable
<
AuthPreparation
>
Parameters
token
:
string
Returns
Observable
<
AuthPreparation
>
start
Demo
Session
startDemoSession
(
role
:
"chair"
|
"examiner"
|
"replacement"
,
)
:
Observable
<
SessionResponse
>
Parameters
role
:
"chair"
|
"examiner"
|
"replacement"
Returns
Observable
<
SessionResponse
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
session
state
Methods
accept
Authentication
activate
Invitation
complete
Recovery
has
Capability
initialize
login
logout
mark
Anonymous
prepare
Invitation
prepare
Recovery
start
Demo
Session
frontend
Loading...