Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AttestationData ¶
type AttestationData struct { EK []byte AK *attest.AttestationParameters }
type AuthServer ¶
type AuthServer struct {
// contains filtered or unexported fields
}
func New ¶
func New(clients *clients.Clients) *AuthServer
func (*AuthServer) Authenticate ¶
func (a *AuthServer) Authenticate(resp http.ResponseWriter, req *http.Request, registerNamespace string) (*v1.MachineInventory, bool, io.WriteCloser, error)
type Challenge ¶
type Challenge struct {
EC *attest.EncryptedCredential
}
type ChallengeResponse ¶
type ChallengeResponse struct {
Secret []byte
}
Click to show internal directories.
Click to hide internal directories.