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.SingleSignOnTokenWithCompanyRsn Class Reference

This is a ISingleSignOnToken that includes an identifiable CompanyRsn to optimise the hits of the DataStores by including data you most likely need. As such, if not used correctly, this can expose identifiable information. It is suggested the service layer populates this before sending commands as part of authorisation/authentication. More...

+ Inheritance diagram for Cqrs.Authentication.SingleSignOnTokenWithCompanyRsn:

Public Member Functions

override string Serialise ()
 Returns CompanyRsn. More...
 

Properties

Guid CompanyRsn [get, set]
 The Rsn of the company the user doing the operation is operating on. When used in a system where a single user can have access to multiple companies, this is not the company the user belongs to, but the company it is operating on. When used by an external 3rd party this is the all in context of the person being impersonated, not the 3rd party system itself. More...
 
- Properties inherited from Cqrs.Authentication.SingleSignOnToken
string Token [get, set]
 The authentication token. More...
 
DateTime TimeOfExpiry [get, set]
 The DateTime this token should expire. More...
 
DateTime DateIssued [get, set]
 The DateTime this token was issued. More...
 
- Properties inherited from Cqrs.Authentication.ISingleSignOnToken
string Token [get, set]
 The authentication token. More...
 
DateTime TimeOfExpiry [get, set]
 The DateTime this token should expire. More...
 
DateTime DateIssued [get, set]
 The DateTime this token was issued. More...
 
- Properties inherited from Cqrs.Authentication.ISingleSignOnTokenWithCompanyRsn
Guid CompanyRsn [get, set]
 The Rsn of the company the user doing the operation is operating on. When used in a system where a single user can have access to multiple companies, this is not the company the user belongs to, but the company it is operating on. When used by an external 3rd party this is the all in context of the person being impersonated, not the 3rd party system itself. More...
 

Detailed Description

This is a ISingleSignOnToken that includes an identifiable CompanyRsn to optimise the hits of the DataStores by including data you most likely need. As such, if not used correctly, this can expose identifiable information. It is suggested the service layer populates this before sending commands as part of authorisation/authentication.