feat: request registration process by prompt (#1798)

* feat: request registration process by prompt

* fix merge

* add prompt create to docs
This commit is contained in:
Livio Amstutz
2021-06-14 10:40:38 +02:00
committed by GitHub
parent 770994e143
commit ab78b34c6c
9 changed files with 31 additions and 13 deletions

View File

@@ -72,6 +72,7 @@ const (
PromptLogin
PromptConsent
PromptSelectAccount
PromptCreate
)
type LevelOfAssurance int

View File

@@ -24,6 +24,7 @@ const (
NextStepExternalLogin
NextStepGrantRequired
NextStepPasswordless
NextStepRegistration
)
type LoginStep struct{}
@@ -32,6 +33,12 @@ func (s *LoginStep) Type() NextStepType {
return NextStepLogin
}
type RegistrationStep struct{}
func (s *RegistrationStep) Type() NextStepType {
return NextStepRegistration
}
type SelectUserStep struct {
Users []UserSelection
}