类 OAuthBuilder
java.lang.Object
springfox.documentation.builders.OAuthBuilder
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明build()grantTypes(List<GrantType> grantTypes) Updates the grant types that this security definition representsUpdates the unique name to identify the security definitionscopes(List<AuthorizationScope> scopes) Updates the authorization scopes with the new scopes
-
构造器详细资料
-
OAuthBuilder
public OAuthBuilder()
-
-
方法详细资料
-
scopes
Updates the authorization scopes with the new scopes- 参数:
scopes- - represents the oauth scopes- 返回:
- this
-
grantTypes
Updates the grant types that this security definition represents- 参数:
grantTypes- - grant types- 返回:
- this
-
name
Updates the unique name to identify the security definition- 参数:
name- - name- 返回:
- this
-
build
-