LTI Integration Library 5.1.4
PHP class library for building LTI integrations
 
Loading...
Searching...
No Matches
OAuthToken Class Reference

Class to represent an OAuth token. More...

Public Member Functions

 __construct (string $key, string $secret)
 Class constructor.
 
 to_string ()
 Generates the basic string serialization of a token that a server would respond to request_token and access_token calls with.
 
 __toString ()
 Convert object to a string.
 

Public Attributes

string $key
 Name.
 
string $secret
 Secret.
 

Detailed Description

Class to represent an OAuth token.

Version
2008-08-04
Licence: https://opensource.org/licenses/MIT The MIT License

Constructor & Destructor Documentation

◆ __construct()

__construct ( string $key,
string $secret )

Class constructor.

Parameters
string$keyThe token
string$secretThe token secret

Member Function Documentation

◆ __toString()

__toString ( )

Convert object to a string.

Returns
string

◆ to_string()

to_string ( )

Generates the basic string serialization of a token that a server would respond to request_token and access_token calls with.

Returns
string