Categorygithub.com/tilotech/tilores-directive-oauth-scope

# README

tilores-directive-oauth-scope

This project includes implementation for oAuth scopes directives used in TiloRes product.

# Functions

ContextWithScopes creates a context that contains the scopes.
HasPrivilege checks the JWT token inside the provided context.Context whether it has the provided privilege in its oAuth scopes.