Class CredentialRequestCallbackArgs
State class passed on callback to demand user credentials when authentication needs to be performed using a non-default identity.
public class CredentialRequestCallbackArgs
- Inheritance
-
CredentialRequestCallbackArgs
- Inherited Members
Constructors
CredentialRequestCallbackArgs()
public CredentialRequestCallbackArgs()
Properties
CustomState
Any custom state that was registered with the callback.
public object CustomState { get; }
Property Value
PreviousAuthenticationFailed
Set if the callback was due to a failed authentication attempt. If false we are beginning to obtain or refresh credentials.
public bool PreviousAuthenticationFailed { get; }
Property Value
ProfileName
If the current authentication callback is associated with a credential profile, this can be used to give the user some context on the request for his/her authentication.
public string ProfileName { get; }
Property Value
UserIdentity
Contains the user identity that the user should supply a password for. The user can ignore if they choose and return credentials for an alternate account.
public string UserIdentity { get; }