Documentation ¶
Index ¶
- Constants
- func NewIdentityCreated(ctx context.Context, identityID uuid.UUID) (string, trace.EventOption)
- func NewIdentityDeleted(ctx context.Context, identityID uuid.UUID) (string, trace.EventOption)
- func NewIdentityUpdated(ctx context.Context, identityID uuid.UUID) (string, trace.EventOption)
- func NewLoginFailed(ctx context.Context, flowType string, requestedAAL string, isRefresh bool) (string, trace.EventOption)
- func NewLoginSucceeded(ctx context.Context, o *LoginSucceededOpts) (string, trace.EventOption)
- func NewRecoveryFailed(ctx context.Context, flowType string, method string) (string, trace.EventOption)
- func NewRecoverySucceeded(ctx context.Context, identityID uuid.UUID, flowType string, method string) (string, trace.EventOption)
- func NewRegistrationFailed(ctx context.Context, flowType string, method string) (string, trace.EventOption)
- func NewRegistrationSucceeded(ctx context.Context, identityID uuid.UUID, flowType string, ...) (string, trace.EventOption)
- func NewSessionChanged(ctx context.Context, aal string, sessionID, identityID uuid.UUID) (string, trace.EventOption)
- func NewSessionChecked(ctx context.Context, sessionID, identityID uuid.UUID) (string, trace.EventOption)
- func NewSessionIssued(ctx context.Context, aal string, sessionID, identityID uuid.UUID) (string, trace.EventOption)
- func NewSessionJWTIssued(ctx context.Context, sessionID, identityID uuid.UUID, ttl time.Duration) (string, trace.EventOption)
- func NewSessionLifespanExtended(ctx context.Context, sessionID, identityID uuid.UUID, newExpiry time.Time) (string, trace.EventOption)
- func NewSessionRevoked(ctx context.Context, sessionID, identityID uuid.UUID) (string, trace.EventOption)
- func NewSettingsFailed(ctx context.Context, flowType string, method string) (string, trace.EventOption)
- func NewSettingsSucceeded(ctx context.Context, identityID uuid.UUID, flowType string, method string) (string, trace.EventOption)
- func NewVerificationFailed(ctx context.Context, flowType string, method string) (string, trace.EventOption)
- func NewVerificationSucceeded(ctx context.Context, identityID uuid.UUID, flowType string, method string) (string, trace.EventOption)
- func NewWebhookDelivered(ctx context.Context, URL *url.URL, reqBody []byte, status int, resBody []byte, ...) (string, trace.EventOption)
- func NewWebhookFailed(ctx context.Context, err error) (string, trace.EventOption)
- func NewWebhookSucceeded(ctx context.Context) (string, trace.EventOption)
- type LoginSucceededOpts
Constants ¶
View Source
const ( SessionIssued semconv.Event = "SessionIssued" SessionChanged semconv.Event = "SessionChanged" SessionLifespanExtended semconv.Event = "SessionLifespanExtended" SessionRevoked semconv.Event = "SessionRevoked" SessionChecked semconv.Event = "SessionChecked" SessionTokenizedAsJWT semconv.Event = "SessionTokenizedAsJWT" RegistrationFailed semconv.Event = "RegistrationFailed" RegistrationSucceeded semconv.Event = "RegistrationSucceeded" LoginFailed semconv.Event = "LoginFailed" LoginSucceeded semconv.Event = "LoginSucceeded" SettingsFailed semconv.Event = "SettingsFailed" SettingsSucceeded semconv.Event = "SettingsSucceeded" RecoveryFailed semconv.Event = "RecoveryFailed" RecoverySucceeded semconv.Event = "RecoverySucceeded" VerificationFailed semconv.Event = "VerificationFailed" VerificationSucceeded semconv.Event = "VerificationSucceeded" IdentityCreated semconv.Event = "IdentityCreated" IdentityUpdated semconv.Event = "IdentityUpdated" IdentityDeleted semconv.Event = "IdentityDeleted" WebhookDelivered semconv.Event = "WebhookDelivered" WebhookSucceeded semconv.Event = "WebhookSucceeded" WebhookFailed semconv.Event = "WebhookFailed" )
Variables ¶
This section is empty.
Functions ¶
func NewIdentityCreated ¶
func NewIdentityDeleted ¶ added in v1.3.0
func NewIdentityUpdated ¶
func NewLoginFailed ¶
func NewLoginSucceeded ¶
func NewLoginSucceeded(ctx context.Context, o *LoginSucceededOpts) (string, trace.EventOption)
func NewRecoveryFailed ¶
func NewRecoverySucceeded ¶
func NewRegistrationFailed ¶
func NewSessionChanged ¶
func NewSessionChecked ¶ added in v1.1.0
func NewSessionIssued ¶
func NewSessionJWTIssued ¶ added in v1.1.0
func NewSessionLifespanExtended ¶ added in v1.3.0
func NewSessionRevoked ¶
func NewSettingsFailed ¶
func NewSettingsSucceeded ¶
func NewVerificationFailed ¶
func NewWebhookDelivered ¶ added in v1.1.0
func NewWebhookFailed ¶ added in v1.1.0
func NewWebhookSucceeded ¶ added in v1.1.0
func NewWebhookSucceeded(ctx context.Context) (string, trace.EventOption)
Types ¶
Click to show internal directories.
Click to hide internal directories.