(clientSecret: string)
| 980 | |
| 981 | const rawClientSecretBasic = |
| 982 | (clientSecret: string): oauth.ClientAuth => |
| 983 | (_authorizationServer, client, _body, headers) => { |
| 984 | headers.set("authorization", `Basic ${base64BasicCredentials(client.client_id, clientSecret)}`); |
| 985 | }; |
| 986 | |
| 987 | const pickClientAuth = ( |
| 988 | clientSecret: string | null | undefined, |
no test coverage detected