supabase
Handles the full Supabase workflow from schema changes to deployment, with built-in security guardrails that catch common traps like RLS...
grant-management
Grant管理(Grant Management)機能の開発・修正を行う際に使用。AuthorizationGrant、ConsentClaims、同意管理、Grant管理API実装時に役立つ。
Full skill instructions
documentation/docs/content_03_concepts/03-authentication-authorization/concept-05-grant-management.md - Grant管理概念documentation/openapi/swagger-grant-management-ja.yaml - Grant管理API仕様(OpenAPI)Grant管理は、認可コンテキストを管理する層。
libs/
├── idp-server-core/ # Grantコア
│ └── .../grant_management/
│ ├── AuthorizationGranted.java # 永続化Grant(created_at/updated_at含む)
│ ├── AuthorizationGrantedIdentifier.java
│ ├── AuthorizationGrantedQueries.java # クエリパラメータ(limit上限1000)
│ ├── AuthorizationGrantedRepository.java
│ ├── AuthorizationGrantedQueryRepository.java
│ ├── grant/
│ │ ├── AuthorizationGrant.java # 認可Grant
│ │ ├── GrantIdTokenClaims.java
│ │ └── GrantUserinfoClaims.java
│ └── consent/
│ └── ConsentClaims.java # 同意情報
│
├── idp-server-core-adapter/ # DB実装
│ └── .../grant_management/
│ ├── AuthorizationGrantedDataSource.java
│ ├── AuthorizationGrantedQueryDataSource.java
│ ├── ModelConverter.java # DB→モデル変換
│ ├── PostgresqlExecutor.java
│ └── MysqlExecutor.java
│
├── idp-server-control-plane/ # Grant管理API定義
│ └── .../management/oidc/grant/
│ ├── OrgGrantManagementApi.java # APIインターフェース
│ ├── GrantManagementContext.java
│ ├── GrantManagementContextBuilder.java
│ ├── handler/
│ │ ├── OrgGrantManagementHandler.java
│ │ ├── GrantManagementService.java
│ │ ├── GrantFindListService.java
│ │ ├── GrantFindService.java
│ │ └── GrantRevocationService.java # Grant取り消し+トークン削除
│ └── io/
│ ├── GrantManagementRequest.java
│ ├── GrantManagementResponse.java
│ ├── GrantManagementResult.java
│ └── GrantManagementStatus.java
│
├── idp-server-use-cases/ # EntryService
│ └── .../control_plane/organization_manager/
│ └── OrgGrantManagementEntryService.java
│
└── idp-server-springboot-adapter/ # REST API
└── .../control_plane/restapi/organization/
└── OrganizationGrantManagementV1Api.java
| メソッド | パス | 説明 | 権限 |
|---|---|---|---|
| GET | /v1/management/organizations/{org-id}/tenants/{tenant-id}/grants | Grant一覧取得 | GRANT_READ |
| GET | /v1/management/organizations/{org-id}/tenants/{tenant-id}/grants/{grant-id} | Grant詳細取得 | GRANT_READ |
| DELETE | /v1/management/organizations/{org-id}/tenants/{tenant-id}/grants/{grant-id} | Grant取り消し | GRANT_DELETE |
| パラメータ | 説明 |
|---|---|
user_id | ユーザーIDでフィルタ |
client_id | クライアントIDでフィルタ |
from | 作成日時の開始範囲(ISO 8601) |
to | 作成日時の終了範囲(ISO 8601) |
limit | 最大件数(デフォルト20、上限1000) |
offset | スキップ件数 |
DELETE時に ?dry_run=true を指定すると、実際の削除を行わずシミュレーション結果を返す。
Grant削除時に、同じuser+clientの全トークン(アクセストークン、リフレッシュトークン)も削除される(Auth0スタイル)。
public class AuthorizationGranted {
AuthorizationGrantedIdentifier identifier;
AuthorizationGrant authorizationGrant;
LocalDateTime createdAt;
LocalDateTime updatedAt;
public Map<String, Object> toMap() {
// id, user, client, scopes, created_at, updated_at を返す
}
}
public class AuthorizationGrant {
TenantIdentifier tenantIdentifier;
User user;
Authentication authentication;
RequestedClientId requestedClientId;
ClientAttributes clientAttributes;
GrantType grantType;
Scopes scopes;
GrantIdTokenClaims idTokenClaims;
GrantUserinfoClaims userinfoClaims;
CustomProperties customProperties;
AuthorizationDetails authorizationDetails;
ConsentClaims consentClaims;
}
e2e/src/tests/
├── usecase/standard/
│ └── standard-05-grant-revocation.test.js # Grant取り消しE2E
└── scenario/control_plane/organization/
└── organization_grant_management.test.js # Grant管理APIテスト
# ビルド
./gradlew :libs:idp-server-core:compileJava
./gradlew :libs:idp-server-control-plane:compileJava
# E2Eテスト
cd e2e && npm test -- src/tests/usecase/standard/standard-05-grant-revocation.test.js
cd e2e && npm test -- src/tests/scenario/control_plane/organization/organization_grant_management.test.js
ResourceOwnerPasswordCredentialsGrantServiceでGrant作成ロジックを確認GrantRevocationServiceでdeleteByUserAndClientが呼ばれているか確認ModelConverter.parseLocalDateTime()が正しくパースしているか確認LocalDateTimeParserで対応)Handles the full Supabase workflow from schema changes to deployment, with built-in security guardrails that catch common traps like RLS...
Comprehensive guides and best practices for Neon Serverless Postgres, covering setup, connection methods, authentication, and platform APIs.
Guide for setting up and using Firebase Authentication. Use this skill when the user's app requires user sign-in, user management, or secure data access using auth rules.
A skill to evaluate how secure Firestore security rules are. Use this when Firestore security rules are updated to ensure that the generated rules are extremely secure and robust.
Official skill for integrating Firebase AI Logic (Gemini API) into web applications. Covers setup, multimodal inference, structured output, and security.
Complete Better Auth server and client setup with database adapters, session management, plugins, and security configuration.
Deploy and manage projects on Vercel using token-based authentication. Use when working with Vercel CLI using access tokens rather than interactive login — e.g. "deploy to vercel", "set up vercel", "add environment variables to vercel".
Complete Cloudflare platform integration with decision trees for compute, storage, AI, networking, security, and infrastructure-as-code.
Run Azure compliance and security audits with azqr plus Key Vault expiration checks. Covers best-practice assessment, resource review, policy/compliance validation, and security posture checks. WHEN: compliance scan, security audit, BEFORE running azqr (compliance cli tool), Azure best practices, Key Vault expiration check, expired certificates, expiring secrets, orphaned resources, compliance assessment.
Send, read, and manage Gmail messages, drafts, labels, and account settings.
Comprehensive website auditing across 230+ rules in 21 categories including SEO, performance, security, and accessibility.
Shared authentication, CLI syntax, and output formatting patterns for gws Google Workspace commands.
Discover your celebrity doppelgänger with StarByFace!
GeoSpy: Pricing, Features, FAQs, and Alternatives for AI Teams
Detect AI-generated voices to protect against audio fraud.
Ensure Your Content's Originality with AI Plagiarism Checker
Upscale images by 400% without quality loss
Protect your social media from copyright disputes
Accurately Detect AI-Generated Content with TheChecker.AI
Chrome extension that detects and flags AI-generated content