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

이것이 추상 클래스입니다.

요약

상속

상속 대상: nl::Weave::WeaveServerDelegateBase

공개 함수

EnforceAccessControl(ExchangeContext *ec, uint32_t msgProfileId, uint8_t msgType, const WeaveMessageInfo *msgInfo, AccessControlResult & result)
virtual void
수신되는 토큰 페어링 요청 메시지에 메시지 수준 액세스 제어를 적용합니다.
OnPairTokenRequest(TokenPairingServer *server, uint8_t *pairingToken, uint32_t pairTokenLength)=0
virtual WEAVE_ERROR
OnUnpairTokenRequest(TokenPairingServer *server)=0
virtual WEAVE_ERROR

공개 함수

EnforceAccessControl

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

수신되는 토큰 페어링 요청 메시지에 메시지 수준 액세스 제어를 적용합니다.

세부정보
매개변수
[in] ec
메일이 수신된 ExchangeContext입니다.
[in] msgProfileId
수신된 메시지의 프로필 ID입니다.
[in] msgType
수신된 메시지의 메시지 유형입니다.
[in] msgInfo
수신된 메시지에 대한 정보가 포함된 WeaveMessageInfo 구조입니다.
[in,out] result
수신된 메시지의 액세스 제어 정책 평가 결과를 설명하는 열거형 값입니다. 메서드에 진입하면 이 값은 평가 프로세스의 현재 지점에서 임시 결과를 나타냅니다. 반환 시 결과는 메시지에 대한 액세스 제어 정책의 최종 평가를 나타낼 것으로 예상됩니다.

OnPairTokenRequest

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

OnUnpairTokenRequest

virtual WEAVE_ERROR OnUnpairTokenRequest(
  TokenPairingServer *server
)=0