PHP Class DataSift_Account_Identity_Token

Author: Chris Knight ([email protected])
Inheritance: extends DataSift_Account
Show file Open project: datasift/datasift-php Class Usage Examples

Public Methods

Method Description
create ( string $identity, string $service, string $token ) : mixed Creates a token for a service
delete ( string $identity, string $service ) : mixed Deletes a token for a service
get ( string $identity, string $service ) : mixed Gets the token for a service
getAll ( string $identity, integer $page = 1, integer $perPage = 25 ) : mixed Get all the tokens for an identity
update ( string $identity, string $service, $token ) : mixed Updates the token for a service

Method Details

create() public method

Creates a token for a service
public create ( string $identity, string $service, string $token ) : mixed
$identity string
$service string
$token string
return mixed

delete() public method

Deletes a token for a service
public delete ( string $identity, string $service ) : mixed
$identity string
$service string
return mixed

get() public method

Gets the token for a service
public get ( string $identity, string $service ) : mixed
$identity string
$service string
return mixed

getAll() public method

Get all the tokens for an identity
public getAll ( string $identity, integer $page = 1, integer $perPage = 25 ) : mixed
$identity string
$page integer
$perPage integer
return mixed

update() public method

Updates the token for a service
public update ( string $identity, string $service, $token ) : mixed
$identity string
$service string
return mixed