Add API report docs

Signed-off-by: Andy Caruso <macaruso@gmail.com>
This commit is contained in:
Andy Caruso
2022-03-14 12:05:18 -07:00
committed by blam
parent a1167e41b1
commit a1d373170b
2 changed files with 7 additions and 5 deletions
+7 -4
View File
@@ -30,9 +30,12 @@ export function getBearerTokenFromAuthorizationHeader(
// @public
export class IdentityClient {
authenticate(token: string | undefined): Promise<BackstageIdentityResponse>;
static create(options: {
discovery: PluginEndpointDiscovery;
issuer: string;
}): IdentityClient;
static create(
options: {
discovery: PluginEndpointDiscovery;
issuer: string;
},
cooldownMs?: number,
): IdentityClient;
}
```
-1
View File
@@ -98,7 +98,6 @@ export class IdentityClient {
}
const user: BackstageIdentityResponse = {
id: decoded.payload.sub,
token,
identity: {
type: 'user',