Documentation ¶
Index ¶
- Constants
- Variables
- type AuthenticatorListEntry
- type SignApi
- func (sa *SignApi) HandleAddKey(c echo.Context) error
- func (sa *SignApi) HandleAuthCallback(c echo.Context) error
- func (sa *SignApi) HandleAuthDiscover(c echo.Context) error
- func (sa *SignApi) HandleCaChallenge(c echo.Context) error
- func (sa *SignApi) HandleGetKey(c echo.Context) error
- func (sa *SignApi) HandleLogin(c echo.Context) error
- func (sa *SignApi) HandleReady(c echo.Context) error
- func (sa *SignApi) HandleSign(c echo.Context) error
- func (sa *SignApi) LoginUserPasswordAuthSkipper(c echo.Context) bool
- func (sa *SignApi) RegisterRoutes(g *echo.Group)
- type SignClaim
Constants ¶
View Source
const (
MaxAuthContextChainLength = 8
)
View Source
const (
TokenLifeSecs = 120
)
Variables ¶
View Source
var Log = logging.GetLogger("signapi").WithField("pkg", "signapi")
Functions ¶
This section is empty.
Types ¶
type AuthenticatorListEntry ¶
type AuthenticatorListEntry struct { Authenticator auth.Authenticator Default bool }
type SignApi ¶
type SignApi struct {
// contains filtered or unexported fields
}
func (*SignApi) HandleAddKey ¶
func (*SignApi) HandleAuthCallback ¶
func (*SignApi) HandleAuthDiscover ¶
func (*SignApi) HandleCaChallenge ¶
func (*SignApi) HandleGetKey ¶
func (*SignApi) HandleLogin ¶
func (*SignApi) HandleReady ¶
func (*SignApi) HandleSign ¶
func (*SignApi) LoginUserPasswordAuthSkipper ¶
func (*SignApi) RegisterRoutes ¶
func (sa *SignApi) RegisterRoutes(g *echo.Group)
type SignClaim ¶
type SignClaim struct { AuthContext *auth.AuthContext jwt.RegisteredClaims }
Source Files ¶
Click to show internal directories.
Click to hide internal directories.