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/oauth.d.ts

import { Issuer } from './issuer';
import { Provider } from './provider';
interface OAuthProviderOptions {
    issuer: Issuer;
    clientID: string;
    clientSecret?: string;
    redirectURL?: string;
}
export declare class OAuthProvider implements Provider {
    private clientID;
    private clientSecret;
    private issuer;
    private codeVerifier;
    private state;
    private redirectURI?;
    constructor(options: OAuthProviderOptions);
    getToken(): Promise<string>;
    private initiateAuthRequest;
    private getIDToken;
    private getBasicAuthHeaderValue;
    private getAuthRequestURL;
    private getAuthRequestParams;
    private getCodeChallenge;
    private openURL;
}
export {};

Hacked By AnonymousFox1.0, Coded By AnonymousFox