Hacked By AnonymousFox

Current Path : /opt/alt/alt-nodejs19/root/usr/lib/node_modules/npm/node_modules/sigstore/dist/identity/
Upload File :
Current File : //opt/alt/alt-nodejs19/root/usr/lib/node_modules/npm/node_modules/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';

Hacked By AnonymousFox1.0, Coded By AnonymousFox