Modifier and Type | Class and Description |
---|---|
static class |
OAuthConfig.OpenIdConnectConfig |
static class |
OAuthConfig.ProviderConfig |
Constructor and Description |
---|
OAuthConfig() |
Modifier and Type | Method and Description |
---|---|
void |
addScope(String scope) |
Class<? extends AccessTokenValidator> |
getAccessTokenValidator() |
String |
getClientId() |
String |
getClientSecret() |
URI |
getDiscoveryDocument() |
URI |
getRedirect() |
List<String> |
getScopes() |
String |
getSigningAlgorithm() |
OAuthConfig.OpenIdConnectConfig |
openIdConnect() |
OAuthConfig.ProviderConfig |
provider() |
OAuthConfig |
setAccessTokenValidator(Class<? extends AccessTokenValidator> accessTokenValidator) |
void |
setClientId(String clientId) |
void |
setClientSecret(String clientSecret) |
OAuthConfig |
setDiscoveryDocument(URI discoveryDocument) |
OAuthConfig |
setRedirect(URI redirect) |
OAuthConfig |
setSigningAlgorithm(String signingAlgorithm) |
public OAuthConfig.OpenIdConnectConfig openIdConnect()
public OAuthConfig.ProviderConfig provider()
public URI getDiscoveryDocument()
public OAuthConfig setDiscoveryDocument(URI discoveryDocument)
public URI getRedirect()
public OAuthConfig setRedirect(URI redirect)
public String getClientId()
public void setClientId(String clientId)
public String getClientSecret()
public void setClientSecret(String clientSecret)
public void addScope(String scope)
public String getSigningAlgorithm()
public OAuthConfig setSigningAlgorithm(String signingAlgorithm)
public Class<? extends AccessTokenValidator> getAccessTokenValidator()
public OAuthConfig setAccessTokenValidator(Class<? extends AccessTokenValidator> accessTokenValidator)
Copyright © 2013-2018–2019 SeedStack. All rights reserved.