Package com.cognite.client.config
Class TokenUrl
java.lang.Object
com.cognite.client.config.TokenUrl
Helper class that can generate token URLs from well known identity providers.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic URLgenerateAzureAdURL(String tenantId) Generate a token URL for authenticating towards Azure AD as the identity provider.
-
Constructor Details
-
TokenUrl
public TokenUrl()
-
-
Method Details
-
generateAzureAdURL
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
-