package
0.0.0-20201112020828-cc6a6faca256
Repository: https://github.com/proofpoint/kubernetes-ldap.git
Documentation: pkg.go.dev

# Functions

GenerateKeypair generates a public and private ECDSA key, to be used for signing and verifying authentication tokens.
KeypairExists checks if keypair exists already.
NewSigner is, for the moment, a thin wrapper around Square's go-jose library to issue ECDSA-P256 JWS tokens.
NewVerifier reads a verification key file, and returns a verifier to verify token objects.
Given a token verifies if it has already expired or not return true if token has expired, false otherwise.

# Structs

AuthToken contains information about the authenticated user.

# Interfaces

Signer signs an issued token.
Verifier verifies the serialized representation of a token.