Repository navigation
6.1.0
New
Manager::mintOrganizationToken(string $organizationId, string $projectId, string $componentId, string $repository): arraycalls oauth-servicePOST /organization-credentials/tokenand returns['#token' => ..., 'expiresAt' => ...]. The#tokenis a GitHub App installation token for one repository, encrypted for the project and component.- It authenticates like the rest of
Manager: with the application token when one is given, otherwise with the projected Kubernetes ServiceAccount token. The caller needs theoauth:mintscope. - HTTP errors throw
ClientExceptionwith the original status code; 400/404/412/422 mean the request can't succeed as is (unknown project or host, no connection for the organization, repository not covered by the installation).
No breaking changes.
Full Changelog: 6.0.0...6.1.0