UserInSession

Indicates that a user is in session for a non-interactive service call.

When a user is in session, YAXI forwards the user's IP address to their bank. That address is either this connection's own source IP (OnThisConnection) or an IP address the caller provides (At).

Without a user in session, banks limit how many requests a caller may make and reject excess requests with an AccessExceeded error. A user in session lifts that limit.

Inheritors

Types

Link copied to clipboard
data class At(val ipAddress: String) : UserInSession

The user is at ipAddress.

Link copied to clipboard

The user's IP is this connection's own source IP.