fix: handle code separately
This commit is contained in:
parent
303fdfc421
commit
a56c3f92c3
7 changed files with 69 additions and 24 deletions
|
@ -12,6 +12,8 @@ import (
|
|||
type AuthStorage interface {
|
||||
CreateAuthRequest(context.Context, *oidc.AuthRequest, string) (AuthRequest, error)
|
||||
AuthRequestByID(context.Context, string) (AuthRequest, error)
|
||||
AuthRequestByCode(context.Context, string) (AuthRequest, error)
|
||||
SaveAuthCode(context.Context, string, string) error
|
||||
DeleteAuthRequest(context.Context, string) error
|
||||
|
||||
CreateToken(context.Context, AuthRequest) (string, time.Time, error)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue