OpenID Connect (OIDC) identity and OAuth 2.0 provider with pluggable connectors
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
package session |
|
|
|
import "time" |
|
|
|
type SessionRepo interface { |
|
Get(string) (*Session, error) |
|
Create(Session) error |
|
Update(Session) error |
|
} |
|
|
|
type SessionKeyRepo interface { |
|
Push(SessionKey, time.Duration) error |
|
Pop(string) (string, error) |
|
}
|
|
|