CQRS.NET  4.0
A lightweight enterprise Function as a Service (FaaS) framework to write function based serverless and micro-service applications in hybrid multi-datacentre, on-premise and Azure environments.
Cqrs.Authentication.DefaultAuthenticationTokenHelper Class Reference

A helper for setting and retrieving authentication tokens of type SingleSignOnToken, SingleSignOnTokenWithUserRsn, SingleSignOnTokenWithCompanyRsn, SingleSignOnTokenWithUserRsnAndCompanyRsn int, Guid or string. More...

+ Inheritance diagram for Cqrs.Authentication.DefaultAuthenticationTokenHelper:

Public Member Functions

 DefaultAuthenticationTokenHelper (IContextItemCollectionFactory factory)
 Instantiate a new instance of DefaultAuthenticationTokenHelper More...
 
SingleSignOnTokenWithUserRsnAndCompanyRsn SetAuthenticationToken (SingleSignOnTokenWithUserRsnAndCompanyRsn token)
 Set the provided token for the current context/request. More...
 
SingleSignOnTokenWithCompanyRsn SetAuthenticationToken (SingleSignOnTokenWithCompanyRsn token)
 Set the provided token for the current context/request. More...
 
SingleSignOnTokenWithUserRsn SetAuthenticationToken (SingleSignOnTokenWithUserRsn token)
 Set the provided token for the current context/request. More...
 
Guid SetAuthenticationToken (Guid token)
 Set the provided token for the current context/request. More...
 
int SetAuthenticationToken (int token)
 Set the provided token for the current context/request. More...
 
string SetAuthenticationToken (string token)
 Set the provided token for the current context/request. More...
 
- Public Member Functions inherited from Cqrs.Authentication.IAuthenticationTokenHelper< SingleSignOnTokenWithUserRsn >
TAuthenticationToken GetAuthenticationToken ()
 Get the current TAuthenticationToken authentication token for the current context/request. More...
 
TAuthenticationToken SetAuthenticationToken (TAuthenticationToken token)
 Set the provided token for the current context/request. More...
 
- Public Member Functions inherited from Cqrs.Authentication.IAuthenticationTokenHelper< SingleSignOnTokenWithCompanyRsn >
TAuthenticationToken GetAuthenticationToken ()
 Get the current TAuthenticationToken authentication token for the current context/request. More...
 
TAuthenticationToken SetAuthenticationToken (TAuthenticationToken token)
 Set the provided token for the current context/request. More...
 
- Public Member Functions inherited from Cqrs.Authentication.IAuthenticationTokenHelper< SingleSignOnTokenWithUserRsnAndCompanyRsn >
TAuthenticationToken GetAuthenticationToken ()
 Get the current TAuthenticationToken authentication token for the current context/request. More...
 
TAuthenticationToken SetAuthenticationToken (TAuthenticationToken token)
 Set the provided token for the current context/request. More...
 
- Public Member Functions inherited from Cqrs.Authentication.IAuthenticationTokenHelper< int >
TAuthenticationToken GetAuthenticationToken ()
 Get the current TAuthenticationToken authentication token for the current context/request. More...
 
TAuthenticationToken SetAuthenticationToken (TAuthenticationToken token)
 Set the provided token for the current context/request. More...
 
- Public Member Functions inherited from Cqrs.Authentication.IAuthenticationTokenHelper< Guid >
TAuthenticationToken GetAuthenticationToken ()
 Get the current TAuthenticationToken authentication token for the current context/request. More...
 
TAuthenticationToken SetAuthenticationToken (TAuthenticationToken token)
 Set the provided token for the current context/request. More...
 
- Public Member Functions inherited from Cqrs.Authentication.IAuthenticationTokenHelper< string >
TAuthenticationToken GetAuthenticationToken ()
 Get the current TAuthenticationToken authentication token for the current context/request. More...
 
TAuthenticationToken SetAuthenticationToken (TAuthenticationToken token)
 Set the provided token for the current context/request. More...
 

Detailed Description

A helper for setting and retrieving authentication tokens of type SingleSignOnToken, SingleSignOnTokenWithUserRsn, SingleSignOnTokenWithCompanyRsn, SingleSignOnTokenWithUserRsnAndCompanyRsn int, Guid or string.