mirror of
https://github.com/zitadel/zitadel.git
synced 2025-03-01 13:07:23 +00:00
12 lines
226 B
Go
12 lines
226 B
Go
![]() |
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)
|
||
|
}
|