Skip to content
Agentmart
Submit a tool

newheap-authentication

Implement or review NewHeap consumer authentication and authorization, including session lifecycle, two-factor authentication, passkeys, token customization…

Skill by NewHeap

IndexedApache-2.0★ 2
Write a review

Chalk Labs

Need help deploying newheap-authentication?

Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.

Book a call

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/newheap-newheap-authentication

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Implement or review NewHeap consumer authentication and authorization, including session lifecycle, two-factor authentication, passkeys, token customization, roles, active divisions, resource permissions, claim hydration, removed-user handling and the authorized AI invocation context.

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md and code. Checked Nov 1, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/newheap-authentication

What's inside

Skill name
newheap-authentication
Description
Implement or review NewHeap consumer authentication and authorization, including session lifecycle, two-factor authentication, passkeys, token customization, roles, active divisions, resource permissions, claim hydration, removed-user handling and the authorized AI invocation context.
License
Apache-2.0
Instructions
17 lines in SKILL.md · view on GitHub

Files (8)

  • SKILL.md
  • openai.yaml · agents/
  • ai-aspnet-context.md · references/
  • authentication-overrides.md · references/
  • authentication-passkeys.md · references/
  • authentication-session-lifecycle.md · references/
  • authentication-two-factor.md · references/
  • authorization-permissions.md · references/

SKILL.md (first lines)

# NewHeap authentication

Keep consumer-specific identity and resource rules in the consuming application while preserving NewHeap's standard endpoints, cookies and refresh-token behavior unless the requested protocol explicitly changes them.

Read [authentication session lifecycle](references/authentication-session-lifecycle.md) for refresh rotation, logout revocation, password-driven session invalidation, compatible rollout or Microsoft OAuth sign-in. Read [authentication overrides](references/authentication-overrides.md) for token customization, claim hydration or removed-user behavior. Read [authorization permissions](references/authorization-permissions.md) for application, division or resource scopes. Read [two-factor authentication](references/authentication-two-factor.md) for authenticator apps, recovery codes, e-mail codes, second-factor challenges, required enrollment, remembered devices, two-factor administration or the two-factor components. Read [passkeys](references/authentication-passkeys.md) for passwordless sign-in or passkeys as a second factor. Read only the references whose boundaries the task crosses.

Preserve the complete authorization chain: seeded role or claim, token or claim hydration, backend policy enforcement and frontend visibility. Application, division and resource permissions are separate scopes. Resource claims encode the resource identity and validate that it belongs to the active division.

For large or volatile claims, keep stable application claims in the token and restore current claims through `IClaimsTransformation`. Cache per request, deduplicate claims and make a valid token for a removed user produce `401`.

Verify backend enforcement independently from frontend visibility and report the claim scopes and denial paths exercised.

## AI invocation context

Read [ASP.NET AI context](references/ai-aspnet-context.md) when an AI feature needs the authenticated actor, tenant, active-division scope and capability grants of a request, including OIDC issuers with unmapped claims and single-tenant or tenantless hosts. The AI features that use this context belong to the backend module.

From NewHeap/NewHeap-Platform, Apache-2.0.

More from NewHeap/NewHeap-Platform

Signals

Stars
2
Forks
0
Open issues
1
Last commit (this folder)
Oct 23, 2026 (9 days ago)
Last release
Oct 24, 2026 (8 days ago)

From GitHub (fetched Oct 24, 2026).

Details

License
Apache-2.0
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from NewHeap

Done for you

Rather not set it up yourself?

Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.

See how we build AI agents →Read the case studies

Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.

launches shipped
50+
launches shipped
media placements
500+
media placements
founders on every account
2
founders on every account

Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block

Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.

Get newheap-authentication running in your business

Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.

Goes to the Chalk Labs founders, not the newsletter. Privacy

Need help deploying newheap-authentication?

CallGet help
Cite this page

newheap-authentication skill. Agent Mart. https://agentmart.dev/skills/newheap-newheap-authentication (last updated 2026-10-24)