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
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
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_id
claim 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_name
claim 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; }