Diffusion .NET API
5.9.24
|
Extends IAuthenticationResult with "builder style" methods that allow a new authentication result to be created. More...
Public Member Functions | |
IAuthenticationResultSource | WithRoles (params string[] roles) |
Copies this authentication result with additional roles. This authentication result is left unmodified. More... | |
IAuthenticationResultSource | WithProperty (string key, string value) |
Copies this authentication result with an additional property value. More... | |
IAuthenticationResultSource | WithProperties (Dictionary< string, string > properties) |
Copies this authentication result with additional property values. More... | |
Additional Inherited Members | |
Properties inherited from PushTechnology.ClientInterface.Client.Security.Authentication.IAuthenticationResult | |
HashSet< string > | AdditionalRoles [get] |
Additional roles supplied by the authentication handler that allowed the authentication. More... | |
Dictionary< string, string > | AdditionalProperties [get] |
Session property values that should be assigned to the session. More... | |
Extends IAuthenticationResult with "builder style" methods that allow a new authentication result to be created.
IAuthenticationResultSource PushTechnology.ClientInterface.Client.Security.Authentication.IAuthenticationResultSource.WithProperties | ( | Dictionary< string, string > | properties | ) |
Copies this authentication result with additional property values.
New values will be added to any current values and if any specified key already had a value then it will be replaced.
properties | A map of properties used to add to or replace any current properties. |
IAuthenticationResultSource PushTechnology.ClientInterface.Client.Security.Authentication.IAuthenticationResultSource.WithProperty | ( | string | key, |
string | value | ||
) |
Copies this authentication result with an additional property value.
If the specified key already had a value then it will be replaced.
This authentication result is left unmodified.
key | The property key. |
value | The property value. |
IAuthenticationResultSource PushTechnology.ClientInterface.Client.Security.Authentication.IAuthenticationResultSource.WithRoles | ( | params string[] | roles | ) |
Copies this authentication result with additional roles. This authentication result is left unmodified.
roles |