A library for common types used across netstack FIDL APIs, similar to fuchsia.net, but specifically meant to house resource types, i.e. types that contain handles to Zircon objects.
STRUCTS
GrantForInterfaceAuthorization resource
Defined in fuchsia.net.resources/resources.fidl
An authorization credential for an interface, which allows the caller to prove ownership of the interface (e.g. by converting the credential into a ProofOfInterfaceAuthorization.
Field | Type | Description | Default |
---|---|---|---|
interface_id |
fuchsia.net/InterfaceId
|
The ID of the interface this credential is authenticating. |
No default |
token |
handle<event>
|
The EVENT providing authentication over this interface. |
No default |
ProofOfInterfaceAuthorization resource
Defined in fuchsia.net.resources/resources.fidl
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.
Field | Type | Description | Default |
---|---|---|---|
interface_id |
fuchsia.net/InterfaceId
|
The ID of the interface this credential is authenticating. |
No default |
token |
handle<event>
|
The EVENT providing authentication over this interface. |
No default |
WakeGroupToken resource
Defined in fuchsia.net.resources/resources.fidl
A token representing a wake group that can be provided to networking resources (such as sockets) to add them to the group.
Field | Type | Description | Default |
---|---|---|---|
token |
handle<event>
|
No default |