PHP 클래스 Pantheon\Terminus\Models\SavedToken

상속: extends TerminusModel, implements Pantheon\Terminus\Session\SessionAwareInterface, implements Robo\Contract\ConfigAwareInterface, implements Pantheon\Terminus\DataStore\DataStoreAwareInterface, use trait Pantheon\Terminus\Session\SessionAwareTrait, use trait Robo\Common\ConfigAwareTrait, use trait Pantheon\Terminus\DataStore\DataStoreAwareTrait
파일 보기 프로젝트 열기: pantheon-systems/terminus 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( $attributes = null, array $options = [] )
delete ( ) Delete the token.
logIn ( ) : User Starts a session with this saved token
saveToDir ( ) Saves this token to a file in the tokens cache dir

보호된 메소드들

메소드 설명
parseAttributes ( $data )

메소드 상세

__construct() 공개 메소드

public __construct ( $attributes = null, array $options = [] )
$options array

delete() 공개 메소드

Delete the token.
public delete ( )

logIn() 공개 메소드

Starts a session with this saved token
public logIn ( ) : User
리턴 User An object representing the now-logged-in user

parseAttributes() 보호된 메소드

protected parseAttributes ( $data )

saveToDir() 공개 메소드

Saves this token to a file in the tokens cache dir
public saveToDir ( )