public class OAuth2Configuration extends Object implements Buildable<OAuth2Configuration>
Modifier and Type | Field and Description |
---|---|
List<URI> |
authorizedOriginURLs |
List<URI> |
authorizedRedirectURLs |
String |
clientId |
String |
clientSecret |
boolean |
debug |
URI |
deviceVerificationURL |
Set<GrantType> |
enabledGrants |
boolean |
generateRefreshTokens |
LogoutBehavior |
logoutBehavior |
URI |
logoutURL
Logout redirect URL when calling the
/oauth2/logout endpoint. |
boolean |
requireClientAuthentication |
Constructor and Description |
---|
OAuth2Configuration() |
OAuth2Configuration(OAuth2Configuration other) |
OAuth2Configuration(String clientId,
String clientSecret) |
public String clientId
public String clientSecret
public boolean debug
public URI deviceVerificationURL
public boolean generateRefreshTokens
public LogoutBehavior logoutBehavior
public URI logoutURL
/oauth2/logout
endpoint. If this is left null,
Application.oauthConfiguration.logoutURL
will be used instead.public boolean requireClientAuthentication
public OAuth2Configuration()
public OAuth2Configuration(OAuth2Configuration other)
Copyright © 2021. All rights reserved.