Files
irsa-manager/internal/selfhosted/oidc.go
T
2024-03-30 20:20:16 +09:00

15 lines
254 B
Go

package selfhosted
import "context"
type OIDCIdProvider interface {
Discovery() ([]byte, error)
JWK() ([]byte, error)
Endpoint() string
}
type OIDCIdPCreator interface {
CreateStorage() error
Upload(ctx context.Context, o OIDCIdProvider) error
}