Table of Contents

Class CredentialsResult

Namespace
Arc4u.OAuth2.Security.Principal
Assembly
Arc4u.OAuth2.dll

Return the Upn and Password implemented with the IUsernamePasswordProvider.

public class CredentialsResult
Inheritance
CredentialsResult
Inherited Members

Constructors

CredentialsResult(bool, string?, string?)

Initializes a new instance of the CredentialsResult class.

public CredentialsResult(bool credentialsEntered, string? upn = null, string? passwd = null)

Parameters

credentialsEntered bool

true when the user entered credentials.

upn string

The user principal name.

passwd string

The password.

Properties

CredentialsEntered

Gets a value indicating whether the user entered credentials.

public bool CredentialsEntered { get; }

Property Value

bool

Password

Gets the password entered by the user.

public string? Password { get; }

Property Value

string

Upn

Gets the user principal name entered by the user.

public string? Upn { get; }

Property Value

string