TargetScope

class TargetScope @InternalWowApi constructor(val tenantId: String? = null, val scope: Scope = Scope.NONE)

The tenant and scope a caller with me.ahoo.wow.api.caller.Caller.crossScope asks to act in instead of its own (the Wow-Scope header): tenantId, when given, replaces the caller's tenant, and scope replaces the caller's scope as a whole, so a part it leaves out is not checked against the aggregate.

Fields may be added: construct one with of; the constructor is internal to Wow.

Constructors

Link copied to clipboard
constructor(tenantId: String? = null, scope: Scope = Scope.NONE)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard

Functions

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