Class TokenUrl


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

      • TokenUrl

        public TokenUrl()
    • Method Detail

      • 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