Ditto
1.1.3
|
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... | |
override int | GetHashCode () |
Returns the hash for the receiver. More... | |
Properties | |
bool | IsAuthenticated [get] |
Gets a value indicating whether the Ditto instance is authenticated. More... | |
string? | UserID [get] |
If authenticated, returns the user ID if one was provided by the authentication service. Otherwise returns null . More... | |
Provides info about the authentication status.
|
inline |
Initializes a new instance of the DittoAuthenticationStatus struct with the given parameters.
|
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.
|
get |
Gets a value indicating whether the Ditto instance is authenticated.
|
get |
If authenticated, returns the user ID if one was provided by the authentication service. Otherwise returns null
.