Class OAuthCoreProperties
java.lang.Object
org.apereo.cas.configuration.model.support.oauth.OAuthCoreProperties
- All Implemented Interfaces:
Serializable
@RequiresModule(name="cas-server-support-oauth")
public class OAuthCoreProperties
extends Object
implements Serializable
This is
OAuthCoreProperties
.- Since:
- 5.2.0
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Profile view types. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionUser profile view type determines how the final user profile should be rendered once an access token is "validated".boolean
Whether approval prompt/consent screen should be bypassed.setBypassApprovalPrompt
(boolean bypassApprovalPrompt) Whether approval prompt/consent screen should be bypassed.setUserProfileViewType
(OAuthCoreProperties.UserProfileViewTypes userProfileViewType) User profile view type determines how the final user profile should be rendered once an access token is "validated".
-
Constructor Details
-
OAuthCoreProperties
public OAuthCoreProperties()
-
-
Method Details
-
isBypassApprovalPrompt
public boolean isBypassApprovalPrompt()Whether approval prompt/consent screen should be bypassed. -
getUserProfileViewType
User profile view type determines how the final user profile should be rendered once an access token is "validated". -
setBypassApprovalPrompt
Whether approval prompt/consent screen should be bypassed.- Returns:
this
.
-
setUserProfileViewType
public OAuthCoreProperties setUserProfileViewType(OAuthCoreProperties.UserProfileViewTypes userProfileViewType) User profile view type determines how the final user profile should be rendered once an access token is "validated".- Returns:
this
.
-