Class AuthenticateWorkerStatus
Status information about a worker authentication.
[DataContract]
public class AuthenticateWorkerStatus
- Inheritance
-
AuthenticateWorkerStatus
- Inherited Members
Properties
Authenticated
Gets whether the worker was authenticated.
[DataMember]
public bool Authenticated { get; }
Property Value
Unauthenticated
Gets a singleton instance of the AuthenticateWorkerStatus class representing an unauthenticated status.
public static AuthenticateWorkerStatus Unauthenticated { get; }
Property Value
Worker
Gets the worker, null if the worker was not authenticated.
[DataMember]
public Worker? Worker { get; }
Property Value
Methods
CreateAuthenticated(Worker)
Creates an instance of the AuthenticateWorkerStatus class representing an authenticated status.
public static AuthenticateWorkerStatus CreateAuthenticated(Worker worker)
Parameters
workerWorker
Returns
Exceptions
- ArgumentNullException
workeris null.