File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 11import { z } from "zod/v4"
22import { OAuthAccessTokenErrorResponse , OAuthAuthorizationErrorResponse , OAuthEnvSchema } from "@/schemas.js"
33import type { SerializeOptions } from "@aura-stack/router/cookie"
4+ import type { JWTVerifyOptions , EncryptOptions , JWTDecryptOptions } from "@aura-stack/jose"
45import type { JWTPayload } from "@/jose.js"
56import type { BuiltInOAuthProvider } from "@/oauth/index.js"
67import type { LiteralUnion , Prettify } from "@/@types/utility.js"
@@ -193,9 +194,9 @@ export interface JoseInstance {
193194 decodeJWT : ( token : string ) => Promise < JWTPayload >
194195 encodeJWT : ( payload : JWTPayload ) => Promise < string >
195196 signJWS : ( payload : JWTPayload ) => Promise < string >
196- verifyJWS : ( payload : string ) => Promise < JWTPayload >
197- encryptJWE : ( payload : string ) => Promise < string >
198- decryptJWE : ( payload : string ) => Promise < string >
197+ verifyJWS : ( payload : string , options ?: JWTVerifyOptions ) => Promise < JWTPayload >
198+ encryptJWE : ( payload : string , options ?: EncryptOptions ) => Promise < string >
199+ decryptJWE : ( payload : string , options ?: JWTDecryptOptions ) => Promise < string >
199200}
200201
201202export interface RouterGlobalContext {
You can’t perform that action at this time.
0 commit comments