C# Класс Microsoft.Identity.Client.UserAssertion

Credential type containing an assertion representing user credential.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Описание методов

UserAssertion() публичный Метод

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.
Результат System

UserAssertion() публичный Метод

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.
Результат System

UserAssertion() публичный Метод

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.
Результат System