CallerWire

class CallerWire @InternalWowApi constructor(val tenantId: String = Caller.DEFAULT_TENANT, val scope: Scope = Scope.NONE, val subject: String? = null, val crossScope: Boolean = false, val attributes: Map<String, List<String>> = emptyMap(), val service: Boolean = false)

Who sent a command, in its wire form (CommandWire.caller): the fields of a Caller, {tenantId, scope, subject, crossScope, attributes, service}, and nothing else: no credential, token or request header. Its toString leaves the attributes out, the caller's claims.

Constructors

Link copied to clipboard
constructor(tenantId: String = Caller.DEFAULT_TENANT, scope: Scope = Scope.NONE, subject: String? = null, crossScope: Boolean = false, attributes: Map<String, List<String>> = emptyMap(), service: Boolean = false)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun caller(): Caller

The caller this wire form holds.

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String