Saltar al contenido
Esta página aún no está traducida.

Path Class

Contains constants for various OpenID Connect and OAuth2 endpoint paths. This class centralizes the paths used throughout the application for consistency and maintainability.

C#
public static class Path

Inheritance System.Object → Path

Fields

Path.Authorize Field

Path for the authorization endpoint per OpenID Connect Core Section 3.1.

C#
public const string Authorize = "[route:authorize?[route:base?~/connect]/authorize]";

Field Value

System.String

Path.BackChannelAuthentication Field

Path for the backchannel authentication endpoint per OpenID Connect CIBA.

C#
public const string BackChannelAuthentication = "[route:bc_authorize?[route:base?~/connect]/bc-authorize]";

Field Value

System.String

Path.CheckSession Field

Path for the session checking endpoint per OpenID Connect Session Management Section 4.

C#
public const string CheckSession = "[route:checksession?[route:base?~/connect]/checksession]";

Field Value

System.String

Path.ClientId Field

Route parameter name for client identifier used in RFC 7592 client management endpoints.

C#
public const string ClientId = "clientId";

Field Value

System.String

Path.Configuration Field

Path for the OpenID configuration document per OpenID Connect Discovery Section 4.

C#
public const string Configuration = "[route:configuration?[route:well_known?~/.well-known]/openid-configuration]";

Field Value

System.String

Path.DeviceAuthorization Field

Path for the device authorization endpoint per RFC 8628.

C#
public const string DeviceAuthorization = "[route:deviceauthorization?[route:base?~/connect]/deviceauthorization]";

Field Value

System.String

Path.EndSession Field

Path for the end session (logout) endpoint per OpenID Connect Session Management Section 5.

C#
public const string EndSession = "[route:endsession?[route:base?~/connect]/endsession]";

Field Value

System.String

Path.Introspection Field

Path for the token introspection endpoint per RFC 7662.

C#
public const string Introspection = "[route:introspect?[route:base?~/connect]/introspect]";

Field Value

System.String

Path.Keys Field

Path for the JSON Web Key Set (JWKS) endpoint per OpenID Connect Discovery Section 4.

C#
public const string Keys = "[route:jwks?[route:well_known?~/.well-known]/jwks]";

Field Value

System.String

Path.OAuthAuthorizationServer Field

Path for the OAuth 2.0 Authorization Server Metadata document per RFC 8414 Section 3. Serves the same metadata as Configuration at the oauth-authorization-server well-known suffix, so a client that queries only that suffix still resolves the provider's metadata.

C#
public const string OAuthAuthorizationServer = "[route:oauth_authorization_server?[route:well_known?~/.well-known]/oauth-authorization-server]";

Field Value

System.String

Path.PushAuthorizationRequest Field

Path for the pushed authorization request (PAR) endpoint per RFC 9126.

C#
public const string PushAuthorizationRequest = "[route:par?[route:base?~/connect]/par]";

Field Value

System.String

Path.Register Field

Path for the client registration endpoint per OpenID Connect Dynamic Client Registration.

C#
public const string Register = "[route:register?[route:base?~/connect]/register]";

Field Value

System.String

Path.RegisterClient Field

Path for the client configuration endpoint per RFC 7592 Section 2. Format: /connect/register/{client_id}

C#
public const string RegisterClient = "[route:register?[route:base?~/connect]/register]/{clientId}";

Field Value

System.String

Path.Revocation Field

Path for the token revocation endpoint per RFC 7009.

C#
public const string Revocation = "[route:revoke?[route:base?~/connect]/revoke]";

Field Value

System.String

Path.RoutePrefix Field

Route prefix used in route templates for dynamic path configuration.

C#
public const string RoutePrefix = "route";

Field Value

System.String

Path.Token Field

Path for the token endpoint per OpenID Connect Core Section 3.1.3 and OAuth 2.0 RFC 6749 Section 3.2.

C#
public const string Token = "[route:token?[route:base?~/connect]/token]";

Field Value

System.String

Path.UserInfo Field

Path for the user information endpoint per OpenID Connect Core Section 5.3.

C#
public const string UserInfo = "[route:userinfo?[route:base?~/connect]/userinfo]";

Field Value

System.String