Interface UserInfoEndpointConfiguration

All Superinterfaces:
EndpointConfiguration
All Known Implementing Classes:
OauthClientConfigurationProperties.OpenIdClientConfigurationProperties.UserInfoEndpointConfigurationProperties

public interface UserInfoEndpointConfiguration extends EndpointConfiguration
Configuration for the UserInfo endpoint of an OpenID provider.
Since:
5.5.2
Author:
Sergio del Amo
  • Method Summary

    Modifier and Type
    Method
    Description
    Whether bearer tokens which cannot be attributed to this provider (opaque tokens, or JWTs without an iss claim) are sent to this provider's UserInfo endpoint for validation.

    Methods inherited from interface EndpointConfiguration

    getUrl
  • Method Details

    • getValidateOpaqueTokens

      Optional<Boolean> getValidateOpaqueTokens()
      Whether bearer tokens which cannot be attributed to this provider (opaque tokens, or JWTs without an iss claim) are sent to this provider's UserInfo endpoint for validation. JWTs whose iss claim identifies a different issuer are never sent, regardless of this setting. A JWT whose issuer is expected by several providers cannot be attributed to one of them and is handled like an opaque token.
      Returns:
      true to always send such tokens, false to never send them, or empty to send them only when this is the only OpenID client configured.