C# Class Microsoft.Identity.Client.UserAssertion

Credential type containing an assertion representing user credential.
ファイルを表示 Open project: AzureAD/microsoft-authentication-library-for-dotnet Class Usage Examples

Public Methods

Method Description
UserAssertion ( string assertion ) : System

Constructor to create the object with an assertion. This constructor can be used for On Behalf Of flow which assumes the assertion is a JWT token. For other flows, the other construction with assertionType must be used.

UserAssertion ( string assertion, string assertionType ) : System

Constructor to create credential with client id, assertion and assertionType

UserAssertion ( string assertion, string assertionType, string userName ) : System

Constructor to create credential with client id, assertion, assertionType and userId

Method Details

UserAssertion() public method

Constructor to create the object with an assertion. This constructor can be used for On Behalf Of flow which assumes the assertion is a JWT token. For other flows, the other construction with assertionType must be used.
public UserAssertion ( string assertion ) : System
assertion string Assertion representing the user.
return System

UserAssertion() public method

Constructor to create credential with client id, assertion and assertionType
public UserAssertion ( string assertion, string assertionType ) : System
assertion string Assertion representing the user.
assertionType string Type of the assertion representing the user.
return System

UserAssertion() public method

Constructor to create credential with client id, assertion, assertionType and userId
public UserAssertion ( string assertion, string assertionType, string userName ) : System
assertion string Assertion representing the user.
assertionType string Type of the assertion representing the user.
userName string Identity of the user token is requested for. This parameter can be null.
return System