Class IdentityProviderContractProperties


  • public final class IdentityProviderContractProperties
    extends IdentityProviderBaseParameters
    The external Identity Providers like Facebook, Google, Microsoft, Twitter or Azure Active Directory which can be used to enable access to the API Management service developer portal for all users.
    • Constructor Detail

      • IdentityProviderContractProperties

        public IdentityProviderContractProperties()
    • Method Detail

      • clientId

        public String clientId()
        Get the clientId property: Client Id of the Application in the external Identity Provider. It is App ID for Facebook login, Client ID for Google login, App ID for Microsoft.
        Returns:
        the clientId value.
      • withClientId

        public IdentityProviderContractProperties withClientId​(String clientId)
        Set the clientId property: Client Id of the Application in the external Identity Provider. It is App ID for Facebook login, Client ID for Google login, App ID for Microsoft.
        Parameters:
        clientId - the clientId value to set.
        Returns:
        the IdentityProviderContractProperties object itself.
      • clientSecret

        public String clientSecret()
        Get the clientSecret property: Client secret of the Application in external Identity Provider, used to authenticate login request. For example, it is App Secret for Facebook login, API Key for Google login, Public Key for Microsoft. This property will not be filled on 'GET' operations! Use '/listSecrets' POST request to get the value.
        Returns:
        the clientSecret value.
      • withClientSecret

        public IdentityProviderContractProperties withClientSecret​(String clientSecret)
        Set the clientSecret property: Client secret of the Application in external Identity Provider, used to authenticate login request. For example, it is App Secret for Facebook login, API Key for Google login, Public Key for Microsoft. This property will not be filled on 'GET' operations! Use '/listSecrets' POST request to get the value.
        Parameters:
        clientSecret - the clientSecret value to set.
        Returns:
        the IdentityProviderContractProperties object itself.