Class OpenIdAuthenticationSettingsContract


  • public final class OpenIdAuthenticationSettingsContract
    extends Object
    API OAuth2 Authentication settings details.
    • Constructor Detail

      • OpenIdAuthenticationSettingsContract

        public OpenIdAuthenticationSettingsContract()
    • Method Detail

      • openidProviderId

        public String openidProviderId()
        Get the openidProviderId property: OAuth authorization server identifier.
        Returns:
        the openidProviderId value.
      • withOpenidProviderId

        public OpenIdAuthenticationSettingsContract withOpenidProviderId​(String openidProviderId)
        Set the openidProviderId property: OAuth authorization server identifier.
        Parameters:
        openidProviderId - the openidProviderId value to set.
        Returns:
        the OpenIdAuthenticationSettingsContract object itself.
      • bearerTokenSendingMethods

        public List<BearerTokenSendingMethods> bearerTokenSendingMethods()
        Get the bearerTokenSendingMethods property: How to send token to the server.
        Returns:
        the bearerTokenSendingMethods value.
      • withBearerTokenSendingMethods

        public OpenIdAuthenticationSettingsContract withBearerTokenSendingMethods​(List<BearerTokenSendingMethods> bearerTokenSendingMethods)
        Set the bearerTokenSendingMethods property: How to send token to the server.
        Parameters:
        bearerTokenSendingMethods - the bearerTokenSendingMethods value to set.
        Returns:
        the OpenIdAuthenticationSettingsContract object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.