Go service for user CRUD, auth, and policy enforcement.
// Source: https://github.com/iota-uz/iota-sdk | License: Apache-2.0 | Copyright You must retain, in the Source form of any Derivative Works
// Provided via justclaw.it.com; keep this notice with the code.
// Package services provides this package.
package services
import (
"context"
"errors"
"fmt"
"strings"
"time"
"unicode/utf8"
"github.com/iota-uz/iota-sdk/modules/core/domain/aggregates/user"
"github.com/iota-uz/iota-sdk/modules/core/domain/value_objects/phone"
"github.com/iota-uz/iota-sdk/modules/core/permissions"
"github.com/iota-uz/iota-sdk/pkg/composables"
"github.com/iota-uz/iota-sdk/pkg/eventbus"
"github.com/iota-uz/iota-sdk/pkg/serrors"
)
var (
ErrCurrentPasswordMismatch = errors.New("current password does not match")
ErrOnboardingSessionInvalid = errors.New("onb
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key