UNPKG

@pothos/plugin-scope-auth

Version:

A Pothos plugin for adding scope based authorization checks to your GraphQL Schema

21 lines (20 loc) 729 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); Object.defineProperty(exports, "AuthScopeFailureType", { enumerable: true, get: function() { return AuthScopeFailureType; } }); var AuthScopeFailureType = /*#__PURE__*/ function(AuthScopeFailureType) { AuthScopeFailureType["AuthScope"] = "AuthScope"; AuthScopeFailureType["AuthScopeFunction"] = "AuthScopeFunction"; AuthScopeFailureType["GrantedScope"] = "GrantedScope"; AuthScopeFailureType["AnyAuthScopes"] = "AnyAuthScopes"; AuthScopeFailureType["AllAuthScopes"] = "AllAuthScopes"; AuthScopeFailureType["Unknown"] = "Unknown"; return AuthScopeFailureType; }({}); //# sourceMappingURL=types.js.map