Documentation
¶
Index ¶
- func ParseJWT(tokenString string) (bool, string)
- func ParseJWTNone(tokenString string) (bool, jwtNoneResponse)
- type App
- func (c App) Auth1() revel.Result
- func (c App) Auth1_Login(jwt string) revel.Result
- func (c App) Bypass() revel.Result
- func (c App) ClientSide(hash string) revel.Result
- func (c App) Expired_JWT() revel.Result
- func (c App) Expired_JWT_Login(username, password string) revel.Result
- func (c App) Index() revel.Result
- func (c App) JWT_None() revel.Result
- func (c App) JWT_None_Check() revel.Result
- func (c App) Leaky_JWT() revel.Result
- func (c App) Leaky_JWT_Login(username, password string) revel.Result
- func (c App) Timing() revel.Result
- func (c App) Timing_Login(username, password string) revel.Result
- func (c App) UserAgent() revel.Result
- func (c App) UserAgent_Ping() revel.Result
- type MyClaimsType
- type SigningMethodNone
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseJWTNone ¶
Types ¶
type App ¶
type App struct {
*revel.Controller
}
func (App) Expired_JWT ¶
func (App) Expired_JWT_Login ¶
func (App) JWT_None_Check ¶
func (App) UserAgent_Ping ¶
type MyClaimsType ¶
type SigningMethodNone ¶
type SigningMethodNone struct { }
func (SigningMethodNone) Alg ¶
func (j SigningMethodNone) Alg() string
func (SigningMethodNone) Sign ¶
func (j SigningMethodNone) Sign(signingString string, key interface{}) (string, error)
func (SigningMethodNone) Verify ¶
func (j SigningMethodNone) Verify(signingString, signature string, key interface{}) error
Click to show internal directories.
Click to hide internal directories.