AIToolAuthorizationContentParams

constructor(call: AIToolCallPart, authorization: AIToolAuthorization, state: AIToolAuthorizationState, connect: () -> Unit, decline: () -> Unit, textStyle: TextStyle, colors: AIToolApprovalColors, modifier: Modifier = Modifier)

Parameters

call

The tool call that waits for the sign-in.

authorization

The sign-in, such as "Connect Linear".

state

Where the person's answer is.

connect

Hands the sign-in page to the approver's AIToolAuthorizer, which opens it.

decline

Sends the person's "not now".

textStyle

The style of the sign-in's question, the one the tool call's question uses.

colors

The palette of the sign-in, the one the tool call's question uses.

modifier

The modifier to apply.