profile

package
v0.5.1-alpha.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 20, 2020 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

View Source
const (
	RouteSettings = "/self-service/settings/methods/profile"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type CompleteSelfServiceBrowserSettingsProfileStrategyFlow

type CompleteSelfServiceBrowserSettingsProfileStrategyFlow struct {
	// Traits contains all of the identity's traits.
	Traits json.RawMessage `json:"traits"`

	// FlowIDRequestID is the flow ID.
	//
	// swagger:ignore
	FlowID string `json:"flow"`

	// The Anti-CSRF Token
	//
	// This token is only required when performing browser flows.
	CSRFToken string `json:"csrf_token"`
}

nolint:deadcode,unused

func (*CompleteSelfServiceBrowserSettingsProfileStrategyFlow) GetFlowID

func (*CompleteSelfServiceBrowserSettingsProfileStrategyFlow) SetFlowID

type SettingsProfileRequestMethod

type SettingsProfileRequestMethod struct {
	*form.HTMLForm
}

swagger:model settingsProfileFormConfig

type Strategy

type Strategy struct {
	// contains filtered or unexported fields
}

func NewStrategy

func NewStrategy(d strategyDependencies, c configuration.Provider) *Strategy

func (*Strategy) PopulateSettingsMethod

func (s *Strategy) PopulateSettingsMethod(r *http.Request, id *identity.Identity, pr *settings.Flow) error

func (*Strategy) RegisterSettingsRoutes

func (s *Strategy) RegisterSettingsRoutes(public *x.RouterPublic)

func (*Strategy) SettingsStrategyID

func (s *Strategy) SettingsStrategyID() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL