Laravel AT Protocol Client (alpha & unstable)
1<?php
2
3namespace SocialDept\AtpClient\Facades;
4
5use Illuminate\Support\Facades\Facade;
6use SocialDept\AtpClient\AtpClient;
7use SocialDept\AtpClient\Auth\OAuthEngine;
8use SocialDept\AtpClient\Contracts\CredentialProvider;
9
10/**
11 * @method static AtpClient as(string $actor)
12 * @method static AtpClient login(string $actor, string $password)
13 * @method static OAuthEngine oauth()
14 * @method static AtpClient public(?string $service = null)
15 * @method static void setDefaultProvider(CredentialProvider $provider)
16 *
17 * @see \SocialDept\AtpClient\AtpClientServiceProvider
18 */
19class Atp extends Facade
20{
21 /**
22 * Get the registered name of the component.
23 */
24 protected static function getFacadeAccessor(): string
25 {
26 return 'atp-client';
27 }
28}