Table of Contents

Sphinx.ExternalProvider Namespace

Classes

Name Description
TExternalProvider Default mutable implementation of IExternalProvider, used to snapshot the configuration of an upstream provider.

Interfaces

Name Description
IExternalProvider Provides read-only information about an upstream (external) identity provider that Sphinx can delegate authentication to, acting as a relying party (RP) to it.
IExternalProvider​Store Resolves an IExternalProvider by its name.

Enumerations

Name Description
TExternalProvider​Type Identifies the protocol family an upstream provider speaks, which determines how the user identity is obtained after the authorization-code exchange.

Constants

Name Description
OAuth2 A plain OAuth2 provider that does not issue an id_token (e.g. GitHub). After the token exchange, Sphinx fetches the user profile from UserInfoEndpoint and maps it onto OIDC claim names via ClaimMapping.
OpenIDConnect A standards-compliant OpenID Connect provider (e.g. Google, Microsoft Entra). The user identity is carried in the id_token returned from the token endpoint and validated as usual.