# Packages
Package oauth implements gRPC credentials using OAuth.
# Functions
NewClientTLSFromCert constructs a TLS from the input certificate for client.
NewClientTLSFromFile constructs a TLS from the input certificate file for client.
NewServerTLSFromCert constructs a TLS from the input certificate for server.
NewServerTLSFromFile constructs a TLS from the input certificate file and key file for server.
NewTLS uses c to construct a TransportCredentials based on TLS.
# Structs
ProtocolInfo provides information regarding the gRPC wire protocol version, security protocol, security protocol version in use, etc.
TLSInfo contains the auth information for a TLS authenticated connection.
# Interfaces
AuthInfo defines the common interface for the auth information the users are interested in.
PerRPCCredentials defines the common interface for the credentials which need to attach security information to every RPC (e.g., oauth2).
TransportCredentials defines the common interface for all the live gRPC wire protocols and supported transport security protocols (e.g., TLS, SSL).