Variable AuthEventSchemaConst
AuthEventSchema: Struct<
{
causedBy: NullOr<typeof String$>;
data: Union<
[
Struct<
{
_tag: Literal<["network"]>;
corsFlag: optional<
Struct<
{
allowCredentials: optional<typeof String$>;
allowOrigin: optional<typeof String$>;
method: typeof String$;
preflightStatus: optional<typeof Number$>;
reason: Union<[(...), (...), (...), (...), (...)]>;
url: typeof String$;
},
>,
>;
duration: typeof Number$;
method: typeof String$;
requestBody: optional<typeof Unknown>;
requestHeaders: Record$<typeof String$, typeof String$>;
responseBody: optional<typeof Unknown>;
responseHeaders: Record$<typeof String$, typeof String$>;
status: typeof Number$;
url: typeof String$;
},
>,
Struct<
{
_tag: Literal<["sdk"]>;
authorization: optional<
Struct<
{
code: optional<typeof String$>;
state: optional<typeof String$>;
},
>,
>;
collectors: optional<Array$<typeof Unknown>>;
error: optional<
Struct<
{
code: typeof String$;
internalHttpStatus: optional<typeof Number$>;
message: typeof String$;
type: typeof String$;
},
>,
>;
eventName: optional<typeof String$>;
httpStatus: optional<typeof Number$>;
interactionId: optional<typeof String$>;
interactionToken: optional<typeof String$>;
nodeDescription: optional<typeof String$>;
nodeId: optional<typeof String$>;
nodeName: optional<typeof String$>;
nodeStatus: typeof String$;
previousStatus: optional<typeof String$>;
requestId: optional<typeof String$>;
responseBody: optional<typeof Unknown>;
session: optional<typeof String$>;
},
>,
Struct<{ _tag: Literal<["sdk-config"]>; config: typeof Unknown }>,
],
>;
flags: Struct<
{
isAuthRelated: typeof Boolean$;
isCors: typeof Boolean$;
isError: typeof Boolean$;
},
>;
flowId: NullOr<typeof String$>;
id: typeof String$;
oidcSemantics: optional<
Struct<
{
_tag: Literal<["oidc-semantics"]>;
clientId: optional<typeof String$>;
dpop: optional<
Struct<
{
nonce: optional<typeof String$>;
proofJwt: optional<typeof String$>;
tokenType: optional<typeof String$>;
},
>,
>;
error: optional<
Struct<
{
error: typeof String$;
errorDescription: optional<typeof String$>;
},
>,
>;
grantType: optional<typeof String$>;
nonce: optional<typeof String$>;
oidcPhase: Union<
[
Literal<["discovery"]>,
Literal<["authorize"]>,
Literal<["par"]>,
Literal<["token"]>,
Literal<["userinfo"]>,
Literal<["revocation"]>,
Literal<["introspection"]>,
Literal<["end-session"]>,
Literal<["jwks"]>,
],
>;
par: optional<
Struct<
{
expiresIn: optional<typeof Number$>;
requestUri: optional<typeof String$>;
},
>,
>;
pkce: optional<
Struct<
{ challengeMethod: typeof String$; hasVerifier: typeof Boolean$ },
>,
>;
state: optional<typeof String$>;
tokens: optional<
Struct<
{
accessToken: optional<typeof Boolean$>;
expiresIn: optional<typeof Number$>;
idToken: optional<typeof Boolean$>;
refreshToken: optional<typeof Boolean$>;
tokenType: optional<typeof String$>;
},
>,
>;
},
>,
>;
source: Union<
[
Literal<["network"]>,
Literal<["sdk"]>,
Literal<["dom"]>,
Literal<["session"]>,
],
>;
timestamp: typeof Number$;
type: Union<
[
Literal<["network:request"]>,
Literal<["network:response"]>,
Literal<["network:cors-flag"]>,
Literal<["sdk:node-change"]>,
Literal<["sdk:action"]>,
Literal<["sdk:config"]>,
Literal<["sdk:journey-step"]>,
],
>;
},
> = ...