package
0.2501.0
Repository: https://github.com/oasisprotocol/oasis-core.git
Documentation: pkg.go.dev

# Functions

NewPeerCertAuthenticator creates a new (empty) PeerCertAuthenticator.
NewPeerPubkeyAuthenticator creates a new (empty) PeerPubkeyAuthenticator.
NoAuth is a function that does no authentication.
StreamServerInterceptor returns an authentication stream server interceptor.
UnaryServerInterceptor returns an authentication unary server interceptor.

# Structs

PeerCertAuthenticator is a server side gRPC authentication function that restricts access to all methods based on the hash of the DER representation of the client certificate presented in the TLS handshake.
PeerPubkeyAuthenticator is a server side gRPC authentication function that restricts access to all methods based on the public keys of the client certificate presented in the TLS handshake.

# Interfaces

ServerAuth interface defines gRPC server authentication interface.

# Type aliases

AuthenticationFunction defines the gRPC server default authentication function.