* Applies POST body authentication (RFC 6749 Section 2.3.1)
(clientId: string, clientSecret: string | undefined, params: URLSearchParams)
| 352 | * Applies POST body authentication (RFC 6749 Section 2.3.1) |
| 353 | */ |
| 354 | function applyPostAuth(clientId: string, clientSecret: string | undefined, params: URLSearchParams): void { |
| 355 | params.set('client_id', clientId); |
| 356 | if (clientSecret) { |
| 357 | params.set('client_secret', clientSecret); |
| 358 | } |
| 359 | } |
| 360 | |
| 361 | /** |
| 362 | * Applies public client authentication (RFC 6749 Section 2.1) |
no outgoing calls
no test coverage detected
searching dependent graphs…