mirror of
https://git.mirrors.martin98.com/https://github.com/actions/toolkit
synced 2026-04-01 21:13:17 +08:00
default aud parameter
This commit is contained in:
@@ -351,6 +351,6 @@ export function getState(name: string): string {
|
||||
return process.env[`STATE_${name}`] || ''
|
||||
}
|
||||
|
||||
export async function getIDToken(aud = undefined): Promise<string> {
|
||||
export async function getIDToken(aud: string | undefined = undefined): Promise<string> {
|
||||
return await OidcClient.getIDToken(aud)
|
||||
}
|
||||
Reference in New Issue
Block a user