mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-11 19:17:32 +00:00
feat: add basic structure of idp templates (#5053)
add basic structure and implement first providers for IDP templates to be able to manage and use them in the future
This commit is contained in:
11
internal/idp/session.go
Normal file
11
internal/idp/session.go
Normal file
@@ -0,0 +1,11 @@
|
||||
package idp
|
||||
|
||||
import (
|
||||
"context"
|
||||
)
|
||||
|
||||
// Session is the minimal implementation for a session of a 3rd party authentication [Provider]
|
||||
type Session interface {
|
||||
GetAuthURL() string
|
||||
FetchUser(ctx context.Context) (User, error)
|
||||
}
|
Reference in New Issue
Block a user