CIAMAuthority Class

  • java.lang.Object
    • com.microsoft.aad.msal4j.Authority
      • com.microsoft.aad.msal4j.CIAMAuthority

public class CIAMAuthority
extends com.microsoft.aad.msal4j.Authority

Field Summary

Modifier and Type Field and Description
static final java.lang.String CIAM_HOST_SEGMENT

Method Summary

Modifier and Type Method and Description
protected static java.net.URL transformAuthority(URL originalAuthority)

This method takes a CIAM authority string of format "tenant.ciamlogin.com" or "https://tenant.ciamlogin.com" and converts it into a full authority url with a path segment of format "/tenant.onmicrosoft.com"

Methods inherited from com.microsoft.aad.msal4j.Authority

com.microsoft.aad.msal4j.Authority.enforceTrailingSlash

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Field Details

CIAM_HOST_SEGMENT

public static final String CIAM_HOST_SEGMENT

Method Details

transformAuthority

protected static URL transformAuthority(URL originalAuthority)

This method takes a CIAM authority string of format "tenant.ciamlogin.com" or "https://tenant.ciamlogin.com" and converts it into a full authority url with a path segment of format "/tenant.onmicrosoft.com"

Parameters:

originalAuthority - authority to be transformed

Returns:

full CIAM authority with path

Throws:

java.net.MalformedURLException

Applies to