@Lazy(value=false)
@Configuration(proxyBeanMethods=false)
@ConfigurationProperties(prefix="springdoc.swagger-ui.oauth")
@ConditionalOnProperty(name="springdoc.swagger-ui.enabled",
matchIfMissing=true)
@ConditionalOnBean(value=SpringDocConfiguration.class)
public class SwaggerUiOAuthProperties
extends Object
| Constructor and Description |
|---|
SwaggerUiOAuthProperties() |
| Modifier and Type | Method and Description |
|---|---|
Map<String,String> |
getAdditionalQueryStringParams()
Gets additional query string params.
|
String |
getAppName()
Gets app name.
|
String |
getClientId()
Gets client id.
|
String |
getClientSecret()
Gets client secret.
|
Map<String,Object> |
getConfigParameters()
Gets config parameters.
|
String |
getRealm()
Gets realm.
|
List<String> |
getScopes()
Get the pre-selected scopes during authentication.
|
String |
getScopeSeparator()
Gets scope separator.
|
Boolean |
getUseBasicAuthenticationWithAccessCodeGrant()
Gets use basic authentication with access code grant.
|
Boolean |
getUsePkceWithAuthorizationCodeGrant()
Gets use pkce with authorization code grant.
|
void |
setAdditionalQueryStringParams(Map<String,String> additionalQueryStringParams)
Sets additional query string params.
|
void |
setAppName(String appName)
Sets app name.
|
void |
setClientId(String clientId)
Sets client id.
|
void |
setClientSecret(String clientSecret)
Sets client secret.
|
void |
setRealm(String realm)
Sets realm.
|
void |
setScopes(List<String> scopes)
Sets the pre-selected scopes during authentication.
|
void |
setScopeSeparator(String scopeSeparator)
Sets scope separator.
|
void |
setUseBasicAuthenticationWithAccessCodeGrant(Boolean useBasicAuthenticationWithAccessCodeGrant)
Sets use basic authentication with access code grant.
|
void |
setUsePkceWithAuthorizationCodeGrant(Boolean usePkceWithAuthorizationCodeGrant)
Sets use pkce with authorization code grant.
|
public Map<String,Object> getConfigParameters()
public String getClientId()
public void setClientId(String clientId)
clientId - the client idpublic String getClientSecret()
public void setClientSecret(String clientSecret)
clientSecret - the client secretpublic String getRealm()
public void setRealm(String realm)
realm - the realmpublic String getAppName()
public void setAppName(String appName)
appName - the app namepublic String getScopeSeparator()
public void setScopeSeparator(String scopeSeparator)
scopeSeparator - the scope separatorpublic Map<String,String> getAdditionalQueryStringParams()
public void setAdditionalQueryStringParams(Map<String,String> additionalQueryStringParams)
additionalQueryStringParams - the additional query string paramspublic Boolean getUseBasicAuthenticationWithAccessCodeGrant()
public void setUseBasicAuthenticationWithAccessCodeGrant(Boolean useBasicAuthenticationWithAccessCodeGrant)
useBasicAuthenticationWithAccessCodeGrant - the use basic authentication with access code grantpublic Boolean getUsePkceWithAuthorizationCodeGrant()
public void setUsePkceWithAuthorizationCodeGrant(Boolean usePkceWithAuthorizationCodeGrant)
usePkceWithAuthorizationCodeGrant - the use pkce with authorization code grantpublic List<String> getScopes()
Copyright © 2024. All rights reserved.