Class TokenUrl

java.lang.Object
com.cognite.client.config.TokenUrl

public class TokenUrl extends Object
Helper class that can generate token URLs from well known identity providers.
  • Constructor Details

    • TokenUrl

      public TokenUrl()
  • Method Details

    • generateAzureAdURL

      public static URL generateAzureAdURL(String tenantId) throws MalformedURLException
      Generate a token URL for authenticating towards Azure AD as the identity provider. You have to specify the Azure AD tenant id as input.
      Parameters:
      tenantId - The Azure AD tenant id.
      Returns:
      The token URL for your Azure AD tenant.
      Throws:
      MalformedURLException