setScopes abstract method

void setScopes(
  1. List<String> newScopes
)

Sets the scopes which are used for issuing a new token. If newScopes is NOT equals scopes both tokens are invalidated (doesn't mind the order of the scopes).

Implementation

void setScopes(List<String> newScopes);