Class UserAssertion
public sealed class UserAssertion
- Inheritance
-
UserAssertion
- Inherited Members
Constructors
UserAssertion(string)
Constructor from a JWT assertion. For other assertion types (SAML), use the other constructor UserAssertion(string, string)
public UserAssertion(string jwtBearerToken)
Parameters
jwtBearerTokenstringJWT bearer token used to access the Web application itself
UserAssertion(string, string)
Constructor of a UserAssertion specifying the assertionType in addition to the assertion
public UserAssertion(string assertion, string assertionType)
Parameters
assertionstringAssertion representing the user.
assertionTypestringType of the assertion representing the user. Accepted types are currently:
- urn:ietf:params:oauth:grant-type:jwt-bearerJWT bearer token. Passing this is equivalent to using the other (simpler) constructor
- urn:ietf:params:oauth:grant-type:saml1_1-bearerSAML 1.1 bearer token
- urn:ietf:params:oauth:grant-type:saml2-bearerSAML 2 bearer token
Properties
Assertion
Gets the assertion.
public string Assertion { get; }
Property Value
AssertionType
Gets the assertion type.
public string AssertionType { get; }