mirror of https://github.com/actions/toolkit
lint
parent
d7dd89f52b
commit
a7aa89a929
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue