(s)
| 31721 | } |
| 31722 | const authorizeApplication = |
| 31723 | (s) => |
| 31724 | ({ authActions: o }) => { |
| 31725 | let { schema: i, scopes: a, name: u, clientId: _, clientSecret: w } = s, |
| 31726 | x = { Authorization: 'Basic ' + utils_btoa(_ + ':' + w) }, |
| 31727 | C = { grant_type: 'client_credentials', scope: a.join(' ') } |
| 31728 | return o.authorizeRequest({ |
| 31729 | body: buildFormData(C), |
| 31730 | name: u, |
| 31731 | url: i.get('tokenUrl'), |
| 31732 | auth: s, |
| 31733 | headers: x, |
| 31734 | }) |
| 31735 | }, |
| 31736 | authorizeAccessCodeWithFormParams = |
| 31737 | ({ auth: s, redirectUrl: o }) => |
| 31738 | ({ authActions: i }) => { |
nothing calls this directly
no test coverage detected