public class ClientDetailsAdapter extends Object implements org.springframework.security.oauth2.provider.ClientDetails
| Constructor and Description |
|---|
ClientDetailsAdapter() |
ClientDetailsAdapter(ApiKey apiKey) |
| Modifier and Type | Method and Description |
|---|---|
Integer |
getAccessTokenValiditySeconds() |
Map<String,Object> |
getAdditionalInformation() |
ApiKey |
getApiKey() |
Collection<org.springframework.security.core.GrantedAuthority> |
getAuthorities() |
Set<String> |
getAuthorizedGrantTypes() |
String |
getClientId() |
String |
getClientSecret() |
Integer |
getRefreshTokenValiditySeconds() |
Set<String> |
getRegisteredRedirectUri() |
Set<String> |
getResourceIds() |
Set<String> |
getScope() |
boolean |
isAutoApprove(String scope) |
boolean |
isScoped() |
boolean |
isSecretRequired() |
void |
setApiKey(ApiKey apiKey) |
public ClientDetailsAdapter()
public ClientDetailsAdapter(ApiKey apiKey)
public String getClientId()
getClientId in interface org.springframework.security.oauth2.provider.ClientDetailspublic Set<String> getResourceIds()
getResourceIds in interface org.springframework.security.oauth2.provider.ClientDetailspublic boolean isSecretRequired()
isSecretRequired in interface org.springframework.security.oauth2.provider.ClientDetailspublic String getClientSecret()
getClientSecret in interface org.springframework.security.oauth2.provider.ClientDetailspublic boolean isScoped()
isScoped in interface org.springframework.security.oauth2.provider.ClientDetailspublic Set<String> getScope()
getScope in interface org.springframework.security.oauth2.provider.ClientDetailspublic Set<String> getAuthorizedGrantTypes()
getAuthorizedGrantTypes in interface org.springframework.security.oauth2.provider.ClientDetailspublic Set<String> getRegisteredRedirectUri()
getRegisteredRedirectUri in interface org.springframework.security.oauth2.provider.ClientDetailspublic Collection<org.springframework.security.core.GrantedAuthority> getAuthorities()
getAuthorities in interface org.springframework.security.oauth2.provider.ClientDetailspublic Integer getAccessTokenValiditySeconds()
getAccessTokenValiditySeconds in interface org.springframework.security.oauth2.provider.ClientDetailspublic Integer getRefreshTokenValiditySeconds()
getRefreshTokenValiditySeconds in interface org.springframework.security.oauth2.provider.ClientDetailspublic boolean isAutoApprove(String scope)
isAutoApprove in interface org.springframework.security.oauth2.provider.ClientDetailspublic Map<String,Object> getAdditionalInformation()
getAdditionalInformation in interface org.springframework.security.oauth2.provider.ClientDetailspublic ApiKey getApiKey()
public void setApiKey(ApiKey apiKey)
Copyright © 2019 Europeana Foundation + AIT. All rights reserved.