# Method Web.Auth.OAuth2.Base()->get_valid_scopes()

Method get_valid_scopes

  ``protected` `string` get_valid_scopes(`string`|`array`(`string`)|`multiset`(`string`) `s`)`

Description

  Returns a space separated list of all valid scopes in `s`. `s` can be a comma or space separated string or an array or multiset of strings. Each element in `s` will be matched against the valid scopes set in the module inheriting this class.