Class AadB2cProperties
java.lang.Object
com.azure.spring.cloud.autoconfigure.aadb2c.properties.AadB2cProperties
- All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean
public class AadB2cProperties
extends Object
implements org.springframework.beans.factory.InitializingBean
Configuration properties for Azure Active Directory B2C.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Gets the app ID URI.Gets the additional authenticate parameters.Gets the authorization clients.Gets the base URI.Gets the credential.Gets the JWT connect timeout.Get the JWT read timeout.int
Gets the JWT size limit.Gets the login flow.Gets the logout success URL.Gets the password reset.Gets the profile.Gets the reply URL.Gets the user flows.Gets the username attribute name.void
setAppIdUri
(String appIdUri) Sets the app ID URI.void
setBaseUri
(String baseUri) Sets the base URI.void
setJwtConnectTimeout
(Duration jwtConnectTimeout) Sets the JWT connect timeout.void
setJwtReadTimeout
(Duration jwtReadTimeout) Sets the JWT read timeout.void
setJwtSizeLimit
(int jwtSizeLimit) Sets the JWT size limit.void
setLoginFlow
(String loginFlow) Sets the login flow.void
setLogoutSuccessUrl
(String logoutSuccessUrl) Sets the logout success URL.void
setReplyUrl
(String replyUrl) Sets the reply URL.void
setUserFlows
(Map<String, String> userFlows) Sets the user flows.void
setUserNameAttributeName
(String userNameAttributeName) Sets the username attribute name.
-
Field Details
-
DEFAULT_LOGOUT_SUCCESS_URL
Default logout success URL.- See Also:
-
PREFIX
Prefix- See Also:
-
DEFAULT_KEY_SIGN_UP_OR_SIGN_IN
The default user flow key 'sign-up-or-sign-in'.- See Also:
-
DEFAULT_KEY_PASSWORD_RESET
The default user flow key 'password-reset'.- See Also:
-
-
Constructor Details
-
AadB2cProperties
public AadB2cProperties()
-
-
Method Details
-
afterPropertiesSet
public void afterPropertiesSet()- Specified by:
afterPropertiesSet
in interfaceorg.springframework.beans.factory.InitializingBean
-
getPasswordReset
Gets the password reset.- Returns:
- the password reset
-
getBaseUri
Gets the base URI.- Returns:
- the base URI
-
setBaseUri
Sets the base URI.- Parameters:
baseUri
- the base URI
-
getUserFlows
Gets the user flows.- Returns:
- the user flows
-
setUserFlows
Sets the user flows.- Parameters:
userFlows
- the user flows
-
getLoginFlow
Gets the login flow.- Returns:
- the login flow
-
setLoginFlow
Sets the login flow.- Parameters:
loginFlow
- the login flow
-
getCredential
Gets the credential.- Returns:
- the credential.
-
getLogoutSuccessUrl
Gets the logout success URL.- Returns:
- the logout success URL
-
setLogoutSuccessUrl
Sets the logout success URL.- Parameters:
logoutSuccessUrl
- the logout success URL
-
getAuthenticateAdditionalParameters
Gets the additional authenticate parameters.- Returns:
- the additional authenticate parameters
-
getUserNameAttributeName
Gets the username attribute name.- Returns:
- the username attribute name
-
setUserNameAttributeName
Sets the username attribute name.- Parameters:
userNameAttributeName
- the username attribute name
-
getReplyUrl
Gets the reply URL.- Returns:
- the reply URL
-
setReplyUrl
Sets the reply URL.- Parameters:
replyUrl
- the reply URL
-
getAppIdUri
Gets the app ID URI.- Returns:
- the app ID URI
-
setAppIdUri
Sets the app ID URI.- Parameters:
appIdUri
- the app ID URI.
-
getJwtConnectTimeout
Gets the JWT connect timeout.- Returns:
- the JWT connect timeout
-
setJwtConnectTimeout
Sets the JWT connect timeout.- Parameters:
jwtConnectTimeout
- the JWT connect timeout
-
getJwtReadTimeout
Get the JWT read timeout.- Returns:
- the JWT read timeout
-
setJwtReadTimeout
Sets the JWT read timeout.- Parameters:
jwtReadTimeout
- the JWT read timeout
-
getJwtSizeLimit
public int getJwtSizeLimit()Gets the JWT size limit.- Returns:
- the JWT size limit
-
setJwtSizeLimit
public void setJwtSizeLimit(int jwtSizeLimit) Sets the JWT size limit.- Parameters:
jwtSizeLimit
- the JWT size limit
-
getProfile
Gets the profile.- Returns:
- the profile
-
getAuthorizationClients
Gets the authorization clients.- Returns:
- the authorization clients
-