public static class SecurityReference.SecurityReferenceBuilder
extends java.lang.Object
Modifier and Type | Method and 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.
|
public SecurityReference.SecurityReferenceBuilder reference(java.lang.String reference)
reference
- - Valid values for the authorization types are.public SecurityReference.SecurityReferenceBuilder scopes(AuthorizationScope[] scopes)
scopes
- - Scopes that this authorization applies to.public SecurityReference build()