class ProofOfInterfaceAuthorization

Defined at line 106 of file fidling/gen/sdk/fidl/fuchsia.net.resources/fuchsia.net.resources/cpp/fidl/fuchsia.net.resources/cpp/natural_types.h

A credential passed into the `fuchsia.net.*` family of APIs to authenticate

access to a particular interface. The Netstack only needs the ability to

inspect the token's basic info when proving that the client is authorized

to access a resource.

Public Methods

void ProofOfInterfaceAuthorization (Storage_ storage)
void ProofOfInterfaceAuthorization (uint64_t interface_id, ::zx::event token)
void ProofOfInterfaceAuthorization ()

Default constructs a |ProofOfInterfaceAuthorization| only if all of its members are default constructible.

Defined at line 117 of file fidling/gen/sdk/fidl/fuchsia.net.resources/fuchsia.net.resources/cpp/fidl/fuchsia.net.resources/cpp/natural_types.h

void ProofOfInterfaceAuthorization (ProofOfInterfaceAuthorization && )

Defined at line 120 of file fidling/gen/sdk/fidl/fuchsia.net.resources/fuchsia.net.resources/cpp/fidl/fuchsia.net.resources/cpp/natural_types.h

uint64_t interface_id ()

The ID of the interface this credential is authenticating.

uint64_t & interface_id ()

The ID of the interface this credential is authenticating.

ProofOfInterfaceAuthorization & interface_id (uint64_t value)

The ID of the interface this credential is authenticating.

ProofOfInterfaceAuthorization & operator= (ProofOfInterfaceAuthorization && )

Defined at line 121 of file fidling/gen/sdk/fidl/fuchsia.net.resources/fuchsia.net.resources/cpp/fidl/fuchsia.net.resources/cpp/natural_types.h

const ::zx::event & token ()

The EVENT providing authentication over this interface.

::zx::event & token ()

The EVENT providing authentication over this interface.

ProofOfInterfaceAuthorization & token (::zx::event value)

The EVENT providing authentication over this interface.

void ProofOfInterfaceAuthorization (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )

Friends

class MemberVisitor
class NaturalStructCodingTraits