Skip to content

Commit

Permalink
docs: update api.md file to reflect latest code
Browse files Browse the repository at this point in the history
Signed-off-by: Phil Adams <[email protected]>
  • Loading branch information
padamstx committed Jan 10, 2025
1 parent 290c1fa commit 8fd2212
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 30 deletions.
8 changes: 4 additions & 4 deletions .secrets.baseline
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"files": "package-lock.json|^.secrets.baseline$",
"lines": null
},
"generated_at": "2024-10-10T20:59:14Z",
"generated_at": "2025-01-10T16:03:07Z",
"plugins_used": [
{
"name": "AWSKeyDetector"
Expand Down Expand Up @@ -128,7 +128,7 @@
"hashed_secret": "bc2f74c22f98f7b6ffbc2f67453dbfa99bce9a32",
"is_secret": false,
"is_verified": false,
"line_number": 214,
"line_number": 221,
"type": "Secret Keyword",
"verified_result": null
}
Expand Down Expand Up @@ -394,7 +394,7 @@
"hashed_secret": "45c43fe97e3a06ab078b0eeff6fbe622cc417a25",
"is_secret": false,
"is_verified": false,
"line_number": 286,
"line_number": 292,
"type": "Secret Keyword",
"verified_result": null
}
Expand Down Expand Up @@ -686,7 +686,7 @@
}
]
},
"version": "0.13.1+ibm.56.dss",
"version": "0.13.1+ibm.62.dss",
"word_list": {
"file": null,
"hash": null
Expand Down
50 changes: 24 additions & 26 deletions etc/ibm-cloud-sdk-core.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ export class ContainerAuthenticator extends IamRequestBasedAuthenticator {
// Warning: (ae-forgotten-export) The symbol "Options_8" needs to be exported by the entry point index.d.ts
constructor(options: Options_8);
authenticationType(): string;
getRefreshToken(): string;
setCrTokenFilename(crTokenFilename: string): void;
setIamProfileId(iamProfileId: string): void;
setIamProfileName(iamProfileName: string): void;
Expand All @@ -144,6 +145,7 @@ export class ContainerTokenManager extends IamRequestBasedTokenManager {
// Warning: (ae-forgotten-export) The symbol "Options_7" needs to be exported by the entry point index.d.ts
constructor(options: Options_7);
protected getCrToken(): string;
getRefreshToken(): string;
protected requestToken(): Promise<any>;
setCrTokenFilename(crTokenFilename: string): void;
setIamProfileId(iamProfileId: string): void;
Expand Down Expand Up @@ -226,8 +228,10 @@ export function getNewLogger(moduleName: string): SDKLogger;
// @public
export function getQueryParam(urlStr: string, param: string): string;

// Warning: (ae-forgotten-export) The symbol "IamRequestBasedAuthenticatorImmutable" needs to be exported by the entry point index.d.ts
//
// @public
export class IamAssumeAuthenticator extends IamRequestBasedAuthenticator {
export class IamAssumeAuthenticator extends IamRequestBasedAuthenticatorImmutable {
// Warning: (ae-forgotten-export) The symbol "Options_14" needs to be exported by the entry point index.d.ts
constructor(options: Options_14);
authenticationType(): string;
Expand All @@ -242,47 +246,49 @@ export class IamAssumeTokenManager extends IamRequestBasedTokenManager {
protected requestToken(): Promise<any>;
// (undocumented)
protected requiredOptions: string[];
protected saveTokenInfo(tokenResponse: any): void;
setClientIdAndSecret(clientId: string, clientSecret: string): void;
setDisableSslVerification(value: boolean): void;
setHeaders(headers: OutgoingHttpHeaders): void;
setScope(scope: string): void;
}

// @public
export class IamAuthenticator extends IamRequestBasedAuthenticator {
// Warning: (ae-forgotten-export) The symbol "Options_6" needs to be exported by the entry point index.d.ts
constructor(options: Options_6);
authenticationType(): string;
getRefreshToken(): string;
// (undocumented)
protected requiredOptions: string[];
// (undocumented)
protected tokenManager: IamTokenManager;
}

// @public
export class IamRequestBasedAuthenticator extends TokenRequestBasedAuthenticator {
// Warning: (ae-forgotten-export) The symbol "IamRequestOptions_2" needs to be exported by the entry point index.d.ts
constructor(options: IamRequestOptions_2);
// (undocumented)
protected clientId: string;
// (undocumented)
protected clientSecret: string;
getRefreshToken(): string;
// (undocumented)
protected scope: string;
export class IamRequestBasedAuthenticator extends IamRequestBasedAuthenticatorImmutable {
setClientIdAndSecret(clientId: string, clientSecret: string): void;
setDisableSslVerification(value: boolean): void;
setHeaders(headers: OutgoingHttpHeaders): void;
setScope(scope: string): void;
// (undocumented)
protected tokenManager: IamRequestBasedTokenManager;
}

// @public
export class IamRequestBasedTokenManager extends JwtTokenManager {
constructor(options: IamRequestOptions);
// (undocumented)
protected clientId: string;
// (undocumented)
protected clientSecret: string;
// (undocumented)
protected formData: any;
getRefreshToken(): string;
protected isTokenExpired(): boolean;
// (undocumented)
protected refreshToken: string;
protected requestToken(): Promise<any>;
protected saveTokenInfo(tokenResponse: any): void;
// (undocumented)
protected scope: string;
setClientIdAndSecret(clientId: string, clientSecret: string): void;
setScope(scope: string): void;
}
Expand All @@ -301,6 +307,7 @@ export interface IamRequestOptions extends JwtTokenManagerOptions {
export class IamTokenManager extends IamRequestBasedTokenManager {
// Warning: (ae-forgotten-export) The symbol "Options_5" needs to be exported by the entry point index.d.ts
constructor(options: Options_5);
getRefreshToken(): string;
// (undocumented)
protected requiredOptions: string[];
}
Expand Down Expand Up @@ -440,21 +447,12 @@ export type TokenManagerOptions = {
[propName: string]: any;
};

// Warning: (ae-forgotten-export) The symbol "TokenRequestBasedAuthenticatorImmutable" needs to be exported by the entry point index.d.ts
//
// @public
export class TokenRequestBasedAuthenticator extends Authenticator {
// Warning: (ae-forgotten-export) The symbol "BaseOptions" needs to be exported by the entry point index.d.ts
constructor(options: BaseOptions);
authenticate(requestOptions: AuthenticateOptions): Promise<void>;
// (undocumented)
protected disableSslVerification: boolean;
// (undocumented)
protected headers: OutgoingHttpHeaders;
export class TokenRequestBasedAuthenticator extends TokenRequestBasedAuthenticatorImmutable {
setDisableSslVerification(value: boolean): void;
setHeaders(headers: OutgoingHttpHeaders): void;
// (undocumented)
protected tokenManager: JwtTokenManager;
// (undocumented)
protected url: string;
}

// @public
Expand Down

0 comments on commit 8fd2212

Please sign in to comment.