What is the value of scope = scope-token * (SP token object) scope-token = 1 * (% x21 /% x23-5B /% x5D-7E) in RFC6749 about OAuth2

What's the point scope = scope-token *( SP scope-token ) scope-token = 1*( %x21 / %x23-5B / %x5D-7E )

in RFC6749 3.3. Access token area ?

+4
source share
2 answers

so i interpret this

scope-token = 1*( %x21 / %x23-5B / %x5D-7E )

seems to say that the scope marker can be 1 or more ascii characters from given character intervals. So basically x21 (!) Is x7E (~), but not allowing x22 (") and x5C (\). See here for a list of characters and their hexadecimal codes.

and

scope = scope-token *( SP scope-token )

, ( ) ​​ SP scope-tokens, SP .

, :

scope = i am 5 scopes !!!!

:

scope = "scope1" "scope2" "scope3"
scope = scope1\scope2\scope3
+4
+2

Source: https://habr.com/ru/post/1630028/


All Articles