OidcProvider
Typed authentication capabilities for one configured OpenID Connect provider.
Exposes verified protocol-native authentication schemes with precise OidcToken principal types. Map those schemes to application principals with io.ktor.server.auth.mapPrincipal.
jwtBearer is available when the provider was configured with bearer { }. introspectionBearer is available when nested bearer { introspection { } } is configured. session is available when the provider was configured with oauth { } and sessions were not disabled.
Properties
Functions
Returns the currently active JWK provider for this provider. The returned value can change after a successful periodic discovery refresh when the discovery document points to a different JWKS URI.
Returns the currently active OpenID Connect discovery metadata for this provider. The returned value can change after a successful periodic discovery refresh.
Refreshes token material for this provider using the supplied refresh token.