import { type ScopeInterface } from "https://deno.land/x/oauth2_server@0.12.0/authorization_server.ts";
Methods
clear(): ScopeInterface
Deletes all scope tokens from this scope.
add(scope: ScopeInterface | string): ScopeInterface
Adds all scope tokens in the passted in scope to this scope.
remove(scope: ScopeInterface | string): ScopeInterface
Removes all scope tokens in the passed in scope from this scope.
has(scope: ScopeInterface | string): boolean
Checks that this scope has all scope tokens in the passed in scope.
equals(scope: ScopeInterface | string): boolean
Checks that this scope is equal to the passed in scope.