pkg/

directory
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 11, 2020 License: Apache-2.0

Directories

Path Synopsis
Package api defines the JSON-RPC API between the browser and the server as well as between mobile devices and the server.
Package api defines the JSON-RPC API between the browser and the server as well as between mobile devices and the server.
Package clients provides functions for invoking the APIs of the verification server
Package clients provides functions for invoking the APIs of the verification server
Package config defines the environment baased configuration for this project.
Package config defines the environment baased configuration for this project.
Package controller defines common utilities used by web and API controllers.
Package controller defines common utilities used by web and API controllers.
apikey
Package apikey contains web controllers for listing and adding API Keys.
Package apikey contains web controllers for listing and adding API Keys.
certapi
Package certapi implements the token + TEK verification API.
Package certapi implements the token + TEK verification API.
cleanup
Package cleanup implements periodic data deletion.
Package cleanup implements periodic data deletion.
flash
Package flash implements flash messages.
Package flash implements flash messages.
home
Package home defines a web controller for the home page of the verification server.
Package home defines a web controller for the home page of the verification server.
index
Package index defines the controller for the index/landing page.
Package index defines the controller for the index/landing page.
issueapi
Package issueapi implements the API handler for taking a code request, assigning an OTP, saving it to the database and returning the result.
Package issueapi implements the API handler for taking a code request, assigning an OTP, saving it to the database and returning the result.
middleware
Package middleware contains application specific gin middleware functions.
Package middleware contains application specific gin middleware functions.
realm
Package realm contains web controllers for selecting the effective realm.
Package realm contains web controllers for selecting the effective realm.
realmadmin
Package realmadmin contains web controllers for changing realm settings.
Package realmadmin contains web controllers for changing realm settings.
session
Package session contains the controller that exchanges firebase auth tokens for server side session tokens.
Package session contains the controller that exchanges firebase auth tokens for server side session tokens.
user
Package user contains web controllers for listing and adding users.
Package user contains web controllers for listing and adding users.
verifyapi
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.
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.
Package database manages database connections and ORM integration.
Package database manages database connections and ORM integration.
Package gcpkms implements cryptographic signing using Google Cloud Key Management Service.
Package gcpkms implements cryptographic signing using Google Cloud Key Management Service.
Package jsonclient is a simple JSON over HTTP Client.
Package jsonclient is a simple JSON over HTTP Client.
Package jwthelper implements some common methods on top of the JWT library.
Package jwthelper implements some common methods on top of the JWT library.
Package otp contains the implementation of the issuance of verification codes.
Package otp contains the implementation of the issuance of verification codes.
Package ratelimit defines common rate limiting logic and config.
Package ratelimit defines common rate limiting logic and config.
Package render defines rendering functionality.
Package render defines rendering functionality.
Package signer defines the interface for signing.
Package signer defines the interface for signing.
Package sms defines interfaces for sending SMS text messages.
Package sms defines interfaces for sending SMS text messages.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL