Class AADB2CURL
- java.lang.Object
-
- com.azure.spring.autoconfigure.b2c.AADB2CURL
-
public final class AADB2CURL extends Object
To get AAD B2C URLs for configuration.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StringgetAADJwkSetUrl(String tenantId)Gets the AAD JWK set URLstatic StringgetAADTokenUrl(String tenantId)Gets the AAD token URL.static StringgetAuthorizationUrl(String baseUri)Gets the authorization URL.static StringgetEndSessionUrl(String baseUri, String logoutUrl, String userFlow)Gets the end session URL.static StringgetJwkSetUrl(String baseUri, String userFlow)Gets the JWK set URL.static StringgetTokenUrl(String baseUri, String userFlow)Gets the token URL.
-
-
-
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 URIuserFlow- 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 URIuserFlow- the user flow- Returns:
- the JWK set URL
-
-