PHP Interface Elcodi\Store\ConnectBundle\Entity\Interfaces\AuthorizationInterface

Author: Berny Cantos ([email protected])
Inheritance: extends Elcodi\Component\Core\Entity\Interfaces\IdentifiableInterface
Mostrar archivo Open project: elcodi/bamboo

Public Methods

Method Description
getAuthorizationToken ( ) : string Get the OAuth authorization token for this user in that resource owner
getExpirationDate ( ) : DateTime Get the token expiration date
getResourceOwnerName ( ) : string Get the name of resource owner
getUser ( ) : Symfony\Component\Security\Core\User\UserInterface Get the related user in our system
getUsername ( ) : mixed Get the user name in the resource owner service

Method Details

getAuthorizationToken() public method

Get the OAuth authorization token for this user in that resource owner
public getAuthorizationToken ( ) : string
return string

getExpirationDate() public method

Get the token expiration date
public getExpirationDate ( ) : DateTime
return DateTime

getResourceOwnerName() public method

Get the name of resource owner
public getResourceOwnerName ( ) : string
return string

getUser() public method

Get the related user in our system
public getUser ( ) : Symfony\Component\Security\Core\User\UserInterface
return Symfony\Component\Security\Core\User\UserInterface

getUsername() public method

Get the user name in the resource owner service
public getUsername ( ) : mixed
return mixed