@pod-os/core / AnonymousSession
Class: AnonymousSession
Defined in: authentication/index.ts:20
Implements
Constructors
Constructor
new AnonymousSession():
AnonymousSession
Returns
AnonymousSession
Accessors
authenticatedFetch
Get Signature
get authenticatedFetch(): (
url,init?) =>Promise\<Response>
Defined in: authentication/index.ts:27
Returns
(
url,init?):Promise\<Response>
Parameters
url
RequestInfo
init?
RequestInit
Returns
Promise\<Response>
Implementation of
PodOsSession.authenticatedFetch
Methods
login()
login():
Promise\<void>
Defined in: authentication/index.ts:38
Returns
Promise\<void>
Implementation of
logout()
logout():
Promise\<void>
Defined in: authentication/index.ts:42
Returns
Promise\<void>
Implementation of
observeSession()
observeSession():
BehaviorSubject\<SessionInfo>
Defined in: authentication/index.ts:34
Returns
BehaviorSubject\<SessionInfo>