@extends('layout/layout') @inject('helper', 'Modules\OAuth\Helpers\ClientShow') {{-- Content --}} @section('content') @include('custom::component.reply-btn', ['url' => $previous_url])
資料
{!! $helper->render($client) !!}
{{csrf_field()}} 編輯 @if($client->revoked) @else @endif
排除的單位 修改
@if ($client->deny()->count() > 0) @foreach($client->deny_output as $output) @endforeach @else @endif
排除單位 排除身份
{{ $output['department_name'] }} {{ implode(", ", $output['roles_output']) }}
所有單位皆可使用
連線範例

由單一入口進入網站的入口網址時,網站的入口網址會收到單一簽入的 token :

{{$client->url}}?accessToken=Token&status=ok

網站可以用該 token ,查詢目前登入的使用者。

@include('oauth::component.get-profile', compact('localhost'))

@foreach ($helper->sampleBtn() as $id => $str) @endforeach

@foreach ($helper->sampleBtn() as $id => $str)
@include('oauth::component.'.$id, compact('localhost'))
@endforeach
@endsection {{-- Script --}} @push('scripts') @endpush