package enum

// StepUpPurpose scopes a short-lived step-up token to one sensitive action.
type StepUpPurpose string

const (
	StepUpPurposeChangePassword StepUpPurpose = "change_password"
)

func (p StepUpPurpose) String() string {
	return string(p)
}

func (p StepUpPurpose) Valid() bool {
	switch p {
	case StepUpPurposeChangePassword:
		return true
	default:
		return false
	}
}
