PHP 8.2.30
Preview: index.d.ts Size: 965 B
/opt/alt/alt-nodejs19/root/usr/lib/node_modules/npm/node_modules.bundled/sigstore/dist/identity/index.d.ts

import { Provider } from './provider';
/**
 * oauthProvider returns a new Provider instance which attempts to retrieve
 * an identity token from the configured OAuth2 issuer.
 *
 * @param issuer Base URL of the issuer
 * @param clientID Client ID for the issuer
 * @param clientSecret Client secret for the issuer (optional)
 * @returns {Provider}
 */
declare function oauthProvider(options: {
    issuer: string;
    clientID: string;
    clientSecret?: string;
    redirectURL?: string;
}): Provider;
/**
 * ciContextProvider returns a new Provider instance which attempts to retrieve
 * an identity token from the CI context.
 *
 * @param audience audience claim for the generated token
 * @returns {Provider}
 */
declare function ciContextProvider(audience?: string): Provider;
declare const _default: {
    ciContextProvider: typeof ciContextProvider;
    oauthProvider: typeof oauthProvider;
};
export default _default;
export { Provider } from './provider';

Directory Contents

Dirs: 0 × Files: 10

Name Size Perms Modified Actions
372 B lrw-r--r-- 2023-12-06 18:07:52
Edit Download
2.45 KB lrw-r--r-- 2023-12-06 18:07:52
Edit Download
965 B lrw-r--r-- 2023-12-06 18:07:52
Edit Download
1.66 KB lrw-r--r-- 2023-12-06 18:07:52
Edit Download
433 B lrw-r--r-- 2023-12-06 18:07:52
Edit Download
1.86 KB lrw-r--r-- 2023-12-06 18:07:52
Edit Download
704 B lrw-r--r-- 2023-12-06 18:07:52
Edit Download
7.79 KB lrw-r--r-- 2023-12-06 18:07:52
Edit Download
67 B lrw-r--r-- 2023-12-06 18:07:52
Edit Download
77 B lrw-r--r-- 2023-12-06 18:07:52
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).