PHP 8.2.30
Preview: oauth.d.ts Size: 704 B
/opt/alt/alt-nodejs19/root/lib/node_modules/npm/node_modules.bundled/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 {};

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).