TokenValidator
Defined in: Authorization.ts:39
Validate opaque or JWT access tokens without coupling mounts to a validator implementation.
Extends
Section titled “Extends”Shape<"@graftland/plugin-http/Authorization/TokenValidator", {validate: (token:Redacted<string>) =>Effect<{audience: readonlystring[];issuer:string;scopes: readonlystring[];subject:string; }, |InvalidToken|ValidationUnavailable>; },this>
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new TokenValidator(_: never): TokenValidator;Defined in: ../../../node_modules/.pnpm/[email protected]/node_modules/effect/dist/Context.d.ts:121
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
_ |
never |
Returns
Section titled “Returns”TokenValidator