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 SessionStorage

Mastodon Anthorization object factory

Baguette\Mastodon\Service\SessionStorage 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/SessionStorage.php
Methods summary
public
# __construct( Baguette\Mastodon\Service\AuthFactory $auth_factory, Baguette\Mastodon\Service\Scope $scope )

Parameters

$auth_factory
$scope
public string
# getAccessToken( )

Returns

string
public Baguette\Mastodon\Service\Authorization
# authorize( boolean $force = false )

Parameters

$force

Returns

Baguette\Mastodon\Service\Authorization
public
# setAuthorization( Baguette\Mastodon\Service\Authorization $authorization )

Parameters

$authorization
Methods used from Teto\Object\PrivateGetter
__get(), __isset()
ξ ^ω^)ξ Baguette PHP Mastodon API Client / SDK API documentation generated by ApiGen