@if(count($this->oauthData) === 0) @if (Auth::user()->may_administrate === true)

{{ __('oauth.NOT_AVAILABLE') }}

{{ __('oauth.SET_UP_CREDENTIALS') }}

@endif @else

{{ __('oauth.SET_UP_OAUTH') }}

@foreach ($this->oauthData as $oauthData)
$oauthData->isEnabled, "fa-brands fa-apple" => $oauthData->providerType === 'apple', "fa-brands fa-amazon" => $oauthData->providerType === 'amazon', "fa-brands fa-facebook" => $oauthData->providerType === 'facebook', "fa-brands fa-github" => $oauthData->providerType === 'github', "fa-brands fa-google" => $oauthData->providerType === 'google', "fa-brands fa-mastodon" => $oauthData->providerType === 'mastodon', "fa-brands fa-microsoft" => $oauthData->providerType === 'microsoft', "fa-solid fa-cloud" => $oauthData->providerType === 'nextcloud', "fa-solid fa-key" => $oauthData->providerType === 'keycloak', ])> @if($oauthData->isEnabled) {{ sprintf(__('oauth.TOKEN_REGISTERED'), ucfirst($oauthData->providerType)) }}({{ __('oauth.RESET') }}) @else {{ sprintf(__('oauth.SET_UP'), ucfirst($oauthData->providerType)) }} @endif
@endforeach @endif