package
1.72.0-dev
Repository: https://github.com/grpc/grpc-go.git
Documentation: pkg.go.dev

# Functions

AuthInfoFromContext extracts the alts.AuthInfo object from the given context, if it exists.
AuthInfoFromPeer extracts the alts.AuthInfo object from the given peer, if it exists.
ClientAuthorizationCheck checks whether the client is authorized to access the requested resources based on the given expected client service accounts.
DefaultClientOptions creates a new ClientOptions object with the default values.
DefaultServerOptions creates a new ServerOptions object with the default values.
NewClientCreds constructs a client-side ALTS TransportCredentials object.
NewServerCreds constructs a server-side ALTS TransportCredentials object.

# Variables

ErrUntrustedPlatform is returned from ClientHandshake and ServerHandshake is running on a platform where the trustworthiness of the handshaker service is not guaranteed.

# Structs

ClientOptions contains the client-side options of an ALTS channel.
ServerOptions contains the server-side options of an ALTS channel.

# Interfaces

AuthInfo exposes security information from the ALTS handshake to the application.