Interface RecipeInterface
Methods
createJWT
- createJWT(input: { payload?: any; validitySeconds?: number }): Promise<{ jwt: string; status: "OK" } | { status: "UNSUPPORTED_ALGORITHM_ERROR" }>
Parameters
input: { payload?: any; validitySeconds?: number }
Optional payload?: any
Optional validitySeconds?: number
Returns Promise<{ jwt: string; status: "OK" } | { status: "UNSUPPORTED_ALGORITHM_ERROR" }>
getJWKS
- getJWKS(): Promise<{ keys: JsonWebKey[]; status: "OK" }>
Returns Promise<{ keys: JsonWebKey[]; status: "OK" }>