Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EncodeSegment ¶
func NewWithClaims ¶
func NewWithClaims(method SigningMethod, claims Claims) *jwt.Token
Types ¶
type Claim ¶
type Claim struct {
jwt.StandardClaims
}
type Repo ¶
type Repo struct {
// contains filtered or unexported fields
}
func NewRepo ¶
func NewRepo(scope *gocb.Scope, controller controllers.Controller, domainName string, URL string, signingToken []byte) *Repo
func (*Repo) GetAdminURL ¶
type SigningMethod ¶
type SigningMethod interface { Verify(signingString, signature string, key interface{}) error // Returns nil if signature is valid Sign(signingString string, key interface{}) (string, error) // Returns encoded signature or error Alg() string // returns the alg identifier for this method (example: 'HS256') }
Click to show internal directories.
Click to hide internal directories.