mirror of
https://github.com/storytold/irsa-manager.git
synced 2026-10-18 07:33:15 +00:00
fix IdP interface
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
package selfhosted
|
||||
|
||||
import "context"
|
||||
|
||||
type OIDCIdProvider interface {
|
||||
Discovery() ([]byte, error)
|
||||
JWK() ([]byte, error)
|
||||
@@ -8,5 +10,5 @@ type OIDCIdProvider interface {
|
||||
|
||||
type OIDCIdPCreator interface {
|
||||
CreateStorage() error
|
||||
Upload(o OIDCIdProvider) error
|
||||
Upload(ctx context.Context, o OIDCIdProvider) error
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user