zitadel/internal/idp/session.go

12 lines
226 B
Go
Raw Normal View History

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)
}