Interface RoleChangeRequest

A request to change the role of a session.

interface RoleChangeRequest {
    authUrl: string;
    callbackUrl: string;
    id: RoleChangeRequestId;
    newRoleName: RoleName;
    nonce: string;
    reason?: string;
    userId: UserId;
}

Properties

authUrl: string

The URL to direct the user to in order to authenticate.

callbackUrl: string

The URL that the user will be redirected to after the request is processed.

The ID of the request.

newRoleName: RoleName

The name of the new role to switch to.

nonce: string

A unique identifier for the request. Used when the user reauthenticates.

reason?: string

The reason for the role switch request.

userId: UserId

The id of the user