package
0.3.0
Repository: https://github.com/google/keytransparency.git
Documentation: pkg.go.dev

# Functions

FakeAuthFunc implements go-grpc-middleware/auth.AuthFunc FakeAuthFunc looks for a fake authentication token and puts a SecurityContext in the returned ctx.
FromContext returns a SecurityContext from the current context.
GetFakeCredential returns fake PerRPCCredentials.
NewGoogleAuth creates a new authenticator for Google users.
WithOutgoingFakeAuth returns a ctx with FakeAuth information for userID.

# Variables

E2EScope authorizes a user to change their keys in the keyserver.
RequiredScopes is the set of scopes the server requires for a user to change keys.

# Structs

GAuth authenticates Google users through the Google TokenInfo API endpoint.
SecurityContext is the auth value stored in the Contexts.