mirror of
https://github.com/actions/toolkit.git
synced 2026-08-15 00:00:25 +02: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