Package springfox.documentation.service
Class SecurityReference.SecurityReferenceBuilder
- java.lang.Object
-
- springfox.documentation.service.SecurityReference.SecurityReferenceBuilder
-
- Enclosing class:
- SecurityReference
public static class SecurityReference.SecurityReferenceBuilder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description SecurityReferenceBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SecurityReference
build()
SecurityReference.SecurityReferenceBuilder
reference(java.lang.String reference)
Updates the authorization reference for the api.SecurityReference.SecurityReferenceBuilder
scopes(AuthorizationScope[] scopes)
Updates the authorization scopes that this authorization applies to.
-
-
-
Method Detail
-
reference
public SecurityReference.SecurityReferenceBuilder reference(java.lang.String reference)
Updates the authorization reference for the api.- Parameters:
reference
- - Valid values for the authorization types are.- Returns:
- this
-
scopes
public SecurityReference.SecurityReferenceBuilder scopes(AuthorizationScope[] scopes)
Updates the authorization scopes that this authorization applies to.- Parameters:
scopes
- - Scopes that this authorization applies to.- Returns:
- this
-
build
public SecurityReference build()
-
-