Ditto 4.1.1
|
Provides info about the authentication status. More...
Public Member Functions | |
DittoAuthenticationStatus (bool isAuthenticated, string? userId) | |
Initializes a new instance of the DittoAuthenticationStatus struct with the given parameters. More... | |
override bool | Equals (object obj) |
Returns true if passed object is an instance of DittoAuthenticationStatus and equal to the receiver. Otherwise returns false . More... | |
bool | Equals (DittoAuthenticationStatus other) |
Evaluates equality of instances of DittoAuthenticationStatus . More... | |
override int | GetHashCode () |
Returns the hash for the receiver. More... | |
Properties | |
bool | IsAuthenticated [get] |
Gets a value indicating whether the Ditto instance is authenticated. | |
string? | UserId [get] |
Gets the user identifier if one was provided by the authentication service. Otherwise returns null . | |
Provides info about the authentication status.
|
inline |
Initializes a new instance of the DittoAuthenticationStatus struct with the given parameters.
isAuthenticated | Whether the ditto instance is authenticated. |
userId | User identifier, if available |
|
inline |
Evaluates equality of instances of DittoAuthenticationStatus
.
|
inline |
Returns true
if passed object is an instance of DittoAuthenticationStatus
and equal to the receiver. Otherwise returns false
.
|
inline |
Returns the hash for the receiver.