Documentation ¶
Index ¶
- type RegistrationScreen
- type Strategy
- func (s *Strategy) ID() identity.CredentialsType
- func (s *Strategy) NodeGroup() node.UiNodeGroup
- func (s *Strategy) PopulateRegistrationMethod(r *http.Request, f *registration.Flow) error
- func (s *Strategy) PopulateSettingsMethod(r *http.Request, id *identity.Identity, f *settings.Flow) error
- func (s *Strategy) Register(w http.ResponseWriter, r *http.Request, regFlow *registration.Flow, ...) (err error)
- func (s *Strategy) RegisterRegistrationRoutes(*x.RouterPublic)
- func (s *Strategy) RegisterSettingsRoutes(_ *x.RouterPublic)
- func (s *Strategy) Settings(w http.ResponseWriter, r *http.Request, f *settings.Flow, ss *session.Session) (_ *settings.UpdateContext, err error)
- func (s *Strategy) SettingsStrategyID() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RegistrationScreen ¶ added in v1.3.0
type RegistrationScreen string
The RegistrationScreen swagger:enum RegistrationScreen
const ( //nolint:gosec // not a credential RegistrationScreenCredentialSelection RegistrationScreen = "credential-selection" RegistrationScreenPrevious RegistrationScreen = "previous" )
type Strategy ¶
type Strategy struct {
// contains filtered or unexported fields
}
func NewStrategy ¶
func (*Strategy) ID ¶ added in v1.2.0
func (s *Strategy) ID() identity.CredentialsType
func (*Strategy) NodeGroup ¶
func (s *Strategy) NodeGroup() node.UiNodeGroup
func (*Strategy) PopulateRegistrationMethod ¶ added in v1.2.0
func (*Strategy) PopulateSettingsMethod ¶
func (*Strategy) Register ¶ added in v1.2.0
func (s *Strategy) Register(w http.ResponseWriter, r *http.Request, regFlow *registration.Flow, i *identity.Identity) (err error)
func (*Strategy) RegisterRegistrationRoutes ¶ added in v1.2.0
func (s *Strategy) RegisterRegistrationRoutes(*x.RouterPublic)
func (*Strategy) RegisterSettingsRoutes ¶
func (s *Strategy) RegisterSettingsRoutes(_ *x.RouterPublic)
func (*Strategy) SettingsStrategyID ¶
Click to show internal directories.
Click to hide internal directories.