nl::Weave::Profiles::TokenPairing::TokenPairingDelegate

This is an abstract class.

Summary

Inheritance

Inherits from: nl::Weave::WeaveServerDelegateBase

Public functions

EnforceAccessControl(ExchangeContext *ec, uint32_t msgProfileId, uint8_t msgType, const WeaveMessageInfo *msgInfo, AccessControlResult & result)
virtual void
Enforce message-level access control for an incoming Token Pairing request message.
OnPairTokenRequest(TokenPairingServer *server, uint8_t *pairingToken, uint32_t pairTokenLength)=0
virtual WEAVE_ERROR
OnUnpairTokenRequest(TokenPairingServer *server)=0
virtual WEAVE_ERROR

Public functions

EnforceAccessControl

virtual void EnforceAccessControl(
  ExchangeContext *ec,
  uint32_t msgProfileId,
  uint8_t msgType,
  const WeaveMessageInfo *msgInfo,
  AccessControlResult & result
)

Enforce message-level access control for an incoming Token Pairing request message.

Details
Parameters
[in] ec
The ExchangeContext over which the message was received.
[in] msgProfileId
The profile id of the received message.
[in] msgType
The message type of the received message.
[in] msgInfo
A WeaveMessageInfo structure containing information about the received message.
[in,out] result
An enumerated value describing the result of access control policy evaluation for the received message. Upon entry to the method, the value represents the tentative result at the current point in the evaluation process. Upon return, the result is expected to represent the final assessment of access control policy for the message.

OnPairTokenRequest

virtual WEAVE_ERROR OnPairTokenRequest(
  TokenPairingServer *server,
  uint8_t *pairingToken,
  uint32_t pairTokenLength
)=0

OnUnpairTokenRequest

virtual WEAVE_ERROR OnUnpairTokenRequest(
  TokenPairingServer *server
)=0