类 SecurityConfigurationBuilder
java.lang.Object
springfox.documentation.swagger.web.SecurityConfigurationBuilder
-
方法概要
修饰符和类型方法说明additionalQueryStringParams(Map<String, Object> additionalQueryStringParams) build()static SecurityConfigurationBuilderbuilder()clientSecret(String clientSecret) scopeSeparator(String scopeSeparator) useBasicAuthenticationWithAccessCodeGrant(Boolean useBasicAuthenticationWithAccessCodeGrant)
-
方法详细资料
-
builder
-
build
-
clientId
- 参数:
clientId- Default clientId.- 返回:
- this
-
clientSecret
- 参数:
clientSecret- Default clientSecret.- 返回:
- this
-
realm
- 参数:
realm- Realm query parameter (for oauth1) added to authorizationUrl and tokenUrl.- 返回:
- this
-
appName
- 参数:
appName- Application name, displayed in authorization popup.- 返回:
- this
-
scopeSeparator
- 参数:
scopeSeparator- Scope separator for passing scopes, encoded before calling, default value is a space (encoded value %20).- 返回:
- this
-
additionalQueryStringParams
public SecurityConfigurationBuilder additionalQueryStringParams(Map<String, Object> additionalQueryStringParams) - 参数:
additionalQueryStringParams- Additional query parameters added to authorizationUrl and tokenUrl.- 返回:
- this
-
useBasicAuthenticationWithAccessCodeGrant
public SecurityConfigurationBuilder useBasicAuthenticationWithAccessCodeGrant(Boolean useBasicAuthenticationWithAccessCodeGrant) - 参数:
useBasicAuthenticationWithAccessCodeGrant- Only activated for the accessCode flow. During the authorization_code request to the tokenUrl, pass the Client Password using the HTTP Basic Authentication scheme (Authorization header with Basic base64encoded[client_id:client_secret]). The default is false.- 返回:
- this
-