Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MustParseRSAKey ¶
func MustParseRSAKey(s string) *rsa.PrivateKey
Types ¶
type JWTAuthenticator ¶
type JWTAuthenticator struct { jose.JSONWebKeySet // contains filtered or unexported fields }
func NewJWTAuthenticator ¶
func NewJWTAuthenticator(gitlab string) (*JWTAuthenticator, error)
func (*JWTAuthenticator) ParseAndVerifySignature ¶
func (j *JWTAuthenticator) ParseAndVerifySignature(jwtRaw string) (*_jwt.Token, error)
func (*JWTAuthenticator) VerifySignature ¶
func (j *JWTAuthenticator) VerifySignature(t *_jwt.Token) error
Click to show internal directories.
Click to hide internal directories.