AccessRequest
class AccessRequest(val method: CoapCode, val path: List<String>, val resource: CoapResource?, val peer: Endpoint, val securityIdentity: SecurityIdentity?, val peerIdentity: PeerIdentity)(source)
What an AccessPolicy decides on: a request, before the server did any work for it, or for /.well-known/core a GET of a resource it would list.
Constructors
Link copied to clipboard
constructor(method: CoapCode, path: List<String>, resource: CoapResource?, peer: Endpoint, securityIdentity: SecurityIdentity?, peerIdentity: PeerIdentity)
Properties
Link copied to clipboard
what channel security (DTLS, or TLS on a connection) authenticated for the hop.
Link copied to clipboard
the resource at path, or null when there is none.
Link copied to clipboard
who message security (OSCORE) authenticated, end to end; null for a request without it. For a context that EDHOC established, kcoap-edhoc-oscore's EdhocIdentity, which carries the peer's credential.