Table of Contents

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

SecurityKey

ClientAssertionSecurityKeyAlgorithm

Algorithm for the Security Key to use with Client Assertion

public string ClientAssertionSecurityKeyAlgorithm { get; set; }

Property Value

string

ClientId

Client ID of the application.

public string ClientId { get; set; }

Property Value

string

ClientSecret

Client secret of the application for Id Token verification.

public string ClientSecret { get; set; }

Property Value

string

Remarks

Optional except when using AuthorizationCodeRequestBase.

Code

Authorization code to be exchanged.

public string Code { get; set; }

Property Value

string

Organization

Organization for Id Token verification.

public string Organization { get; set; }

Property Value

string

Remarks

  • If you provide an Organization ID (a string with the prefix org_), it will be validated against the org_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 the org_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

string

SigningAlgorithm

What JwtSignatureAlgorithm is used to verify the signature of Id Tokens.

public JwtSignatureAlgorithm SigningAlgorithm { get; set; }

Property Value

JwtSignatureAlgorithm