@Validated @ConfigurationProperties(prefix="azure.activedirectory.b2c") public class AADB2CProperties extends Object
| Modifier and Type | Class and Description |
|---|---|
protected static class |
AADB2CProperties.UserFlows |
| Modifier and Type | Field and Description |
|---|---|
private boolean |
allowTelemetry
Telemetry data will be collected if true, or disable data collection.
|
private @NotBlank(message="client ID should not be blank") String |
clientId
The application ID that registered under b2c tenant.
|
private @NotBlank(message="client secret should not be blank") String |
clientSecret
The application secret that registered under b2c tenant.
|
static String |
DEFAULT_LOGOUT_SUCCESS_URL |
private @URL(message="logout success should be valid URL") String |
logoutSuccessUrl |
private Boolean |
oidcEnabled
Use OIDC $
OidcAuthorizationCodeAuthenticationProvider by default. |
static String |
PREFIX |
private @URL(message="reply URL should be valid URL") String |
replyUrl |
private @NotBlank(message="tenant name should not be blank") String |
tenant
The name of the b2c tenant.
|
static String |
USER_FLOW_PASSWORD_RESET
We do not use $
String.format(String, Object...)
as it's not real constant, which cannot be referenced in annotation. |
static String |
USER_FLOW_PROFILE_EDIT |
static String |
USER_FLOW_SIGN_UP_OR_SIGN_IN |
private static String |
USER_FLOWS |
private AADB2CProperties.UserFlows |
userFlows
The all user flows which is created under b2c tenant.
|
| Constructor and Description |
|---|
AADB2CProperties() |
| Modifier and Type | Method and Description |
|---|---|
@NonNull String |
getLoginProcessingUrl() |
private String |
getReplyURLPath(@URL String replyURL) |
private static final String USER_FLOWS
public static final String USER_FLOW_PASSWORD_RESET
String.format(String, Object...)
as it's not real constant, which cannot be referenced in annotation.public static final String USER_FLOW_PROFILE_EDIT
public static final String USER_FLOW_SIGN_UP_OR_SIGN_IN
public static final String DEFAULT_LOGOUT_SUCCESS_URL
public static final String PREFIX
@NotBlank(message="tenant name should not be blank") private @NotBlank(message="tenant name should not be blank") String tenant
private Boolean oidcEnabled
OidcAuthorizationCodeAuthenticationProvider by default. If set to false,
will use Oauth2 $OAuth2AuthorizationCodeAuthenticationProvider.@NotBlank(message="client ID should not be blank") private @NotBlank(message="client ID should not be blank") String clientId
@NotBlank(message="client secret should not be blank") private @NotBlank(message="client secret should not be blank") String clientSecret
@URL(message="reply URL should be valid URL") private @URL(message="reply URL should be valid URL") String replyUrl
@URL(message="logout success should be valid URL") private @URL(message="logout success should be valid URL") String logoutSuccessUrl
private AADB2CProperties.UserFlows userFlows
private boolean allowTelemetry
Copyright © 2019 Microsoft. All rights reserved.