RpcAuthContext

class RpcAuthContext(clientId: String, sessionId: String, nextNonce: ByteString? = null) : CoroutineContext.Element

An object added to the current coroutine context based on the successful processing of RPC call authorization.

Parameters

clientId

client instance identifier; could be device, user, or authorization context identifier, depending on the specific authorization method.

sessionId

session identifier for the RPC call sequence, empty string indicates that the authorization method does not maintain a session.

nextNonce

nonce to be used by the client in next call in the session (if any).

See RpcAuthInspector.

Constructors

Link copied to clipboard
constructor(clientId: String, sessionId: String, nextNonce: ByteString? = null)

Types

Link copied to clipboard
object Companion
Link copied to clipboard

Properties

Link copied to clipboard

Functions

Link copied to clipboard
open override fun <R> fold(initial: R, operation: (R, CoroutineContext.Element) -> R): R
Link copied to clipboard
open operator override fun <E : CoroutineContext.Element> get(key: CoroutineContext.Key<E>): E?
Link copied to clipboard
open override fun minusKey(key: CoroutineContext.Key<*>): CoroutineContext
Link copied to clipboard
open operator fun plus(context: CoroutineContext): CoroutineContext