Class AuthorizationCodeRequestBase
- Namespace
- Auth0.AuthenticationApi.Models
- Assembly
- Auth0.AuthenticationApi.dll
Base class for all types of Authorization Code requests.
public abstract class AuthorizationCodeRequestBase : IClientAuthentication
- Inheritance
-
AuthorizationCodeRequestBase
- Implements
- Derived
- Inherited Members
- Extension Methods
Properties
ClientAssertionSecurityKey
Security Key to use with Client Assertion
public SecurityKey ClientAssertionSecurityKey { get; set; }
Property Value
ClientAssertionSecurityKeyAlgorithm
Algorithm for the Security Key to use with Client Assertion
public string ClientAssertionSecurityKeyAlgorithm { get; set; }
Property Value
ClientId
Client ID of the application.
public string ClientId { get; set; }
Property Value
ClientSecret
Client secret of the application for Id Token verification.
public string ClientSecret { get; set; }
Property Value
Remarks
Optional except when using AuthorizationCodeRequestBase.
Code
Authorization code to be exchanged.
public string Code { get; set; }
Property Value
Nonce
Optional nonce to validate against the nonce claim in the returned ID token.
public string? Nonce { get; set; }
Property Value
Remarks
When set, the nonce claim in the returned ID token must exactly match this value. Leave null (the default) to skip nonce validation.
Organization
Organization for Id Token verification.
public string Organization { get; set; }
Property Value
Remarks
- If you provide an Organization ID (a string with the prefix
org_), it will be validated against theorg_idclaim of your user's ID Token. The validation is case-sensitive. - If you provide an Organization Name (a string without the prefix
org_), it will be validated against theorg_nameclaim of your user's ID Token.The validation is case-insensitive.
RedirectUri
Redirect URI passed during the login process.
public string RedirectUri { get; set; }
Property Value
SigningAlgorithm
What JwtSignatureAlgorithm is used to verify the signature of Id Tokens.
public JwtSignatureAlgorithm SigningAlgorithm { get; set; }