Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Authenticator ¶
type Authenticator struct {
// contains filtered or unexported fields
}
func NewAuthenticator ¶
func NewAuthenticator(audience string, secret []byte, timeToLive time.Duration, identityStore auth.IdentityStore) (*Authenticator, error)
func (*Authenticator) Authenticate ¶
func (*Authenticator) Issue ¶
func (a *Authenticator) Issue(identity *auth.Identity) (accessToken string, err error)
func (*Authenticator) TimeToLive ¶
func (a *Authenticator) TimeToLive() time.Duration
Click to show internal directories.
Click to hide internal directories.