Files
k8s-set-context/node_modules/@kubernetes/client-node/dist/exec_auth.d.ts
github-actions[bot] 52d71d28bd Add node modules and compiled JavaScript from main (#54)
Co-authored-by: Oliver King <oking3@uncc.edu>
2022-06-29 15:41:55 -04:00

23 lines
739 B
TypeScript

/// <reference types="node" />
import https = require('https');
import request = require('request');
import { Authenticator } from './auth';
import { User } from './config_types';
export interface CredentialStatus {
readonly token: string;
readonly clientCertificateData: string;
readonly clientKeyData: string;
readonly expirationTimestamp: string;
}
export interface Credential {
readonly status: CredentialStatus;
}
export declare class ExecAuth implements Authenticator {
private readonly tokenCache;
private execFn;
isAuthProvider(user: User): boolean;
applyAuthentication(user: User, opts: request.Options | https.RequestOptions): Promise<void>;
private getToken;
private getCredential;
}