{{input value=api.service placeholder=(i18n 'admin.wizard.api.service')}}
{{#if savingApi}} {{loading-spinner size="small"}} {{/if}} {{d-button label="admin.wizard.api.save" action="save" class="btn-primary"}} {{d-button action="removeApi" label="admin.wizard.api.remove"}}
{{i18n 'admin.wizard.api.auth'}}
{{i18n 'admin.wizard.api.auth_settings'}}
{{i18n 'admin.wizard.api.redirect_uri'}} {{api.redirectUri}}
{{combo-box value=api.authType content=authorizationTypes none='admin.wizard.api.auth_type_none'}}
{{input value=api.authUrl}}
{{input value=api.tokenUrl}}
{{#if isOauth}}
{{input value=api.clientId}}
{{input value=api.clientSecret}}
{{#each api.authParams as |param|}}
{{input value=param.key placeholder=(i18n 'admin.wizard.api.param_key')}} {{input value=param.value placeholder=(i18n 'admin.wizard.api.param_value')}} {{d-button action='removeParam' actionParam=param icon='times'}}
{{/each}} {{d-button label='admin.wizard.api.param_new' icon='plus' action='addParam'}}
{{/if}}
{{d-button label="admin.wizard.api.authorize" action="authorize"}}
{{i18n 'admin.wizard.api.auth_status'}}
{{#if api.authorized}} {{i18n "admin.wizard.api.authorized"}} {{else}} {{i18n "admin.wizard.api.not_authorized"}} {{/if}}
{{api.accessToken}}
{{api.tokenExpiresAt}}
{{api.tokenRefreshAt}}
{{api.refreshToken}}
{{api.code}}
{{i18n 'admin.wizard.api.endpoint.label'}}
{{d-button action='addEndpoint' label='admin.wizard.api.endpoint.add' icon='plus'}}