public class AuthorizationScopeBuilder
extends java.lang.Object
Constructor and Description |
---|
AuthorizationScopeBuilder() |
Modifier and Type | Method and Description |
---|---|
AuthorizationScope |
build() |
AuthorizationScopeBuilder |
description(java.lang.String description)
Updates the description of the scope
|
AuthorizationScopeBuilder |
scope(java.lang.String scope)
Updates the scope
|
public AuthorizationScopeBuilder scope(java.lang.String scope)
scope
- - scope for the authorizationpublic AuthorizationScopeBuilder description(java.lang.String description)
description
- - describes what this scope representspublic AuthorizationScope build()