dereferenceScope

Allows finding the oauth permission scope from a reference