Documentation ¶
Index ¶
- type InMemoryStore
- func (ims *InMemoryStore) DeleteAuthToken(token string) error
- func (ims *InMemoryStore) DeleteResetPasswordToken(token string) error
- func (ims *InMemoryStore) GetAuthTokenPID(tokenValue string) (authcore.PID, error)
- func (ims *InMemoryStore) GetResetPasswordTokenPID(tokenValue string) (authcore.PID, error)
- func (ims *InMemoryStore) StoreAuthToken(token *authcore.Token, pid authcore.PID) error
- func (ims *InMemoryStore) StoreResetPasswordToken(token *authcore.Token, pid authcore.PID) error
- type Session
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InMemoryStore ¶
type InMemoryStore struct {
// contains filtered or unexported fields
}
func NewInMemoryStore ¶
func NewInMemoryStore() *InMemoryStore
func (*InMemoryStore) DeleteAuthToken ¶
func (ims *InMemoryStore) DeleteAuthToken(token string) error
func (*InMemoryStore) DeleteResetPasswordToken ¶
func (ims *InMemoryStore) DeleteResetPasswordToken(token string) error
func (*InMemoryStore) GetAuthTokenPID ¶
func (ims *InMemoryStore) GetAuthTokenPID(tokenValue string) (authcore.PID, error)
func (*InMemoryStore) GetResetPasswordTokenPID ¶
func (ims *InMemoryStore) GetResetPasswordTokenPID(tokenValue string) (authcore.PID, error)
func (*InMemoryStore) StoreAuthToken ¶
func (*InMemoryStore) StoreResetPasswordToken ¶
Click to show internal directories.
Click to hide internal directories.