Documentation ¶
Overview ¶
Package verifyapi implements the exchange of the verification code (short term token) for a long term token that can be used to get a verification certification to send to the key server.
This is steps 4/5 as specified here: https://developers.google.com/android/exposure-notifications/verification-system#flow-diagram
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
Controller is a controller for the verification code verification API.
func New ¶
func New(ctx context.Context, config *config.APIServerConfig, db *database.Database, h *render.Renderer, signer signer.KeyManager) *Controller
func (*Controller) HandleVerify ¶
func (c *Controller) HandleVerify() http.Handler
Click to show internal directories.
Click to hide internal directories.