fix: create access token from storage
This commit is contained in:
parent
ddcf7076f8
commit
5e7e5ebe3a
8 changed files with 44 additions and 31 deletions
|
@ -14,6 +14,8 @@ type AuthStorage interface {
|
|||
AuthRequestByID(context.Context, string) (AuthRequest, error)
|
||||
DeleteAuthRequest(context.Context, string) error
|
||||
|
||||
CreateToken(context.Context, AuthRequest) (string, time.Time, error)
|
||||
|
||||
GetSigningKey(context.Context, chan<- jose.SigningKey, chan<- error, <-chan time.Time)
|
||||
GetKeySet(context.Context) (*jose.JSONWebKeySet, error)
|
||||
SaveNewKeyPair(context.Context) error
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue