Class AADB2CURL


  • public final class AADB2CURL
    extends Object
    To get AAD B2C URLs for configuration.
    • Method Detail

      • getAuthorizationUrl

        public static String getAuthorizationUrl​(String baseUri)
        Gets the authorization URL.
        Parameters:
        baseUri - the base URI
        Returns:
        the authorization URL
      • getTokenUrl

        public static String getTokenUrl​(String baseUri,
                                         String userFlow)
        Gets the token URL.
        Parameters:
        baseUri - the base URI
        userFlow - the user flow
        Returns:
        the token URL
      • getAADTokenUrl

        public static String getAADTokenUrl​(String tenantId)
        Gets the AAD token URL.
        Parameters:
        tenantId - the tenant ID
        Returns:
        the AAD token URL
      • getAADJwkSetUrl

        public static String getAADJwkSetUrl​(String tenantId)
        Gets the AAD JWK set URL
        Parameters:
        tenantId - the tenant ID
        Returns:
        the AAD JWK set URL
      • getJwkSetUrl

        public static String getJwkSetUrl​(String baseUri,
                                          String userFlow)
        Gets the JWK set URL.
        Parameters:
        baseUri - the base URI
        userFlow - the user flow
        Returns:
        the JWK set URL
      • getEndSessionUrl

        public static String getEndSessionUrl​(String baseUri,
                                              String logoutUrl,
                                              String userFlow)
        Gets the end session URL.
        Parameters:
        baseUri - the base URI
        logoutUrl - the logout URL
        userFlow - the user flow
        Returns:
        the end session URL