code: func ContextRequiredScopes(ctx context.Context) []string {
  	if s := ctx.Value(securityScopesKey); s != nil {
  		return s.([]string)
  	}
  	return nil
  }
docs: // ContextRequiredScopes extracts the security scopes from the given context.
  // This should be used in auth handlers to validate that the required scopes are present in the
  // JWT or OAuth2 token.