import { Scope } from "https://deno.land/x/oauth2_server@0.12.0/examples/oak-localstorage/deps.ts";
A basic implementation of scope.
Methods
Checks that this scope has all scope tokens in the passed in scope.
Removes all scope tokens in the passed in scope from this scope.
toJSON(): string
Converts the scope to a JSON representation.
toString(): string
Converts the scope to a string representation.
[Symbol.iterator](): IterableIterator<string>
Static Methods
intersection(a: Scope | string, b: Scope | string): Scope
Creates a new scope with all scope tokens that are present in both scopes.