1
0
Fork 0
pull/893/head
TingluoHuang 2021-08-25 16:54:45 -04:00
parent d7dd89f52b
commit a7aa89a929
1 changed files with 5 additions and 8 deletions

View File

@ -4,7 +4,6 @@ import { IRequestOptions } from '@actions/http-client/interfaces'
import {HttpClient} from '@actions/http-client' import {HttpClient} from '@actions/http-client'
import {BearerCredentialHandler} from '@actions/http-client/auth' import {BearerCredentialHandler} from '@actions/http-client/auth'
import {debug, setSecret} from './core' import {debug, setSecret} from './core'
interface TokenResponse { interface TokenResponse {
value?: string value?: string
} }
@ -42,9 +41,7 @@ export class OidcClient {
return runtimeUrl return runtimeUrl
} }
private static async getCall( private static async getCall(id_token_url: string): Promise<string> {
id_token_url: string
): Promise<string> {
const httpclient = OidcClient.createHttpClient() const httpclient = OidcClient.createHttpClient()
const res = await httpclient const res = await httpclient