Overview

Namespaces

  • Baguette
    • Mastodon
      • Config
      • Entity
      • Grant
      • Service
  • GuzzleHttp
    • Cookie
    • Exception
    • Handler
    • Promise
  • Psr
    • Http
      • Message
  • Teto
    • Object

Classes

  • AuthFactory
  • Authorization
  • Scope
  • SessionStorage
  • Toot

Exceptions

  • AuthorizationException
  • Overview
  • Namespace
  • Class

Class Authorization

Mastodon Anthorization object

Baguette\Mastodon\Service\Authorization uses Teto\Object\PrivateGetter
Namespace: Baguette\Mastodon\Service
Copyright: 2017 Baguette HQ
License: GPL-3.0
Author: USAMI Kenta tadsan@zonu.me
Located at Service/Authorization.php
Methods summary
public
# __construct( string $access_token, string $token_type = 'bearer', Baguette\Mastodon\Service\Scope $scope = null, integer $created_at = null )

Parameters

$access_token
$token_type
$scope
$created_at
public static static
# fromObject( object $obj )

Parameters

$obj

Returns

static
Methods used from Teto\Object\PrivateGetter
__get(), __isset()
Magic properties summary
public read-only string $access_token
public read-only string $token_type
public read-only Baguette\Mastodon\Service\Scope $scope
public read-only DateTimeImmutable $created_at
ξ ^ω^)ξ Baguette PHP Mastodon API Client / SDK API documentation generated by ApiGen