Megosztás a következőn keresztül:


UserAssertion Constructors

Definition

Overloads

UserAssertion(String)

Constructor from a JWT assertion. For other assertion types (SAML), use the other constructor UserAssertion(String, String)

UserAssertion(String, String)

Constructor of a UserAssertion specifying the assertionType in addition to the assertion

UserAssertion(String)

Constructor from a JWT assertion. For other assertion types (SAML), use the other constructor UserAssertion(String, String)

public UserAssertion (string jwtBearerToken);
new Microsoft.Identity.Client.UserAssertion : string -> Microsoft.Identity.Client.UserAssertion
Public Sub New (jwtBearerToken As String)

Parameters

jwtBearerToken
String

JWT bearer token used to access the Web application itself

Applies to

UserAssertion(String, String)

Constructor of a UserAssertion specifying the assertionType in addition to the assertion

public UserAssertion (string assertion, string assertionType);
new Microsoft.Identity.Client.UserAssertion : string * string -> Microsoft.Identity.Client.UserAssertion
Public Sub New (assertion As String, assertionType As String)

Parameters

assertion
String

Assertion representing the user.

assertionType
String

Type of the assertion representing the user. Accepted types are currently:

  • urn:ietf:params:oauth:grant-type:jwt-bearer: JWT bearer token. Passing this is equivalent to using the other (simpler) constructor
  • urn:ietf:params:oauth:grant-type:saml1_1-bearer: SAML 1.1 bearer token
  • urn:ietf:params:oauth:grant-type:saml2-bearer: SAML 2 bearer token

Applies to