Skip to content

Release/0.2.0 - #5

Merged
StevenBtw merged 3 commits into
mainfrom
release/0.2.0
Apr 11, 2026
Merged

StevenBtw merged 3 commits into
mainfrom
release/0.2.0

Conversation

@StevenBtw

@StevenBtw StevenBtw commented Apr 11, 2026 •

Copy link
Copy Markdown
Contributor

Summary by cubic

Adds authenticated identity flow for LOGON. Validators now return AuthInfo, backends receive it via BoltBackend::set_session_auth(), and the server can signal credentials_expired; also adds BoltError::Forbidden and bumps to v0.2.0.

  • New Features

    • AuthInfo { principal, credentials_expired } returned from LOGON validation.
    • Backend hook set_session_auth() invoked after successful LOGON.
    • LOGON Success may include credentials_expired: true.
    • New BoltError::Forbidden mapped to Neo.ClientError.Security.Forbidden.
  • Migration

    • Change AuthValidator::validate to return Result<AuthInfo, BoltError>.
    • Set credentials_expired in AuthInfo when appropriate; clients can read it from LOGON Success metadata.
    • Optionally implement set_session_auth() to attach identity/roles to sessions.

Written for commit bd63df0. Summary will update on new commits.

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 11 files

@StevenBtw
StevenBtw merged commit 4993d00 into main Apr 11, 2026
7 checks passed
@StevenBtw
StevenBtw deleted the release/0.2.0 branch April 11, 2026 14:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant