File tree Expand file tree Collapse file tree 5 files changed +90
-36
lines changed
Expand file tree Collapse file tree 5 files changed +90
-36
lines changed Original file line number Diff line number Diff line change 11#Change Log
22All notable changes to this project starting with the 0.6.0 release will be documented in this file. This project adheres to [ Semantic Versioning] ( http://semver.org )
33
4- ## MASTER
4+ ## [ 0.10.6 ] - 2016-03-07
55### Changed
66- ` Terminus\Helpers\AuthHelper ` has become ` Terminus\Models\Auth ` . (#971 )
77
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ composer require pantheon-systems/terminus
3737
3838Run this in this in your terminal client:
3939``` bash
40- curl https://github.com/pantheon-systems/terminus/releases/download/0.10.5 /terminus.phar -L -o /usr/local/bin/terminus && chmod +x /usr/local/bin/terminus
40+ curl https://github.com/pantheon-systems/terminus/releases/download/0.10.6 /terminus.phar -L -o /usr/local/bin/terminus && chmod +x /usr/local/bin/terminus
4141```
4242
4343####Installing with Git
Original file line number Diff line number Diff line change @@ -9,5 +9,5 @@ TERMINUS_HOST: 'dashboard.pantheon.io'
99TERMINUS_PORT : 443
1010TERMINUS_PROTOCOL : ' https'
1111TERMINUS_TIME_ZONE : ' UTC'
12- TERMINUS_VERSION : ' 0.10.5 '
12+ TERMINUS_VERSION : ' 0.10.6 '
1313TERMINUS_DATE_FORMAT : ' Y-m-d H:i:s'
Original file line number Diff line number Diff line change 1+ # Terminus\Models\Auth
2+
3+ ### __ construct
4+ ##### Description:
5+ Object constructor
6+
7+ ##### Parameters:
8+ [object] $attributes Attributes of this model
9+ [array] $options Options to set as $this->key
10+
11+ ##### Return:
12+ [Auth]
13+
14+ ---
15+
16+ ### getMachineTokenCreationUrl
17+ ##### Description:
18+ Generates the URL string for where to create a machine token
19+
20+ ##### Return:
21+ [string]
22+
23+ ---
24+
25+ ### getOnlySavedToken
26+ ##### Description:
27+ Gets the only saved token or returns false
28+
29+ ##### Return:
30+ [bool|string]
31+
32+ ---
33+
34+ ### loggedIn
35+ ##### Description:
36+ Checks to see if the current user is logged in
37+
38+ ##### Return:
39+ [bool] True if the user is logged in
40+
41+ ---
42+
43+ ### logInViaMachineToken
44+ ##### Description:
45+ Execute the login based on a machine token
46+
47+ ##### Parameters:
48+ [string[]] $args Elements as follow:
49+ -string token Machine token to initiate login with
50+ -string email Email address to locate token with
51+
52+ ##### Return:
53+ [bool] True if login succeeded
54+
55+ ##### Throws:
56+ TerminusException
57+
58+ ---
59+
60+ ### logInViaUsernameAndPassword
61+ ##### Description:
62+ Execute the login via email/password
63+
64+ ##### Parameters:
65+ [string] $email Email address associated with a Pantheon account
66+ [string] $password Password for the account
67+
68+ ##### Return:
69+ [bool] True if login succeeded
70+
71+ ##### Throws:
72+ TerminusException
73+
74+ ---
75+
76+ ### tokenExistsForEmail
77+ ##### Description:
78+ Checks to see whether the email has been set with a machine token
79+
80+ ##### Parameters:
81+ [string] $email Email address to check for
82+
83+ ##### Return:
84+ [bool]
85+
86+ ---
87+
Original file line number Diff line number Diff line change 7777
7878---
7979
80- ### create
81- ##### Description:
82- Creates a new environment
83-
84- ##### Parameters:
85- [string] $env_name Name of environment to create
86-
87- ##### Return:
88- [array] Response data
89-
90- ---
91-
9280### deploy
9381##### Description:
9482 Deploys the Test or Live environment
119107
120108---
121109
122- ### getConnectionMode
123- ##### Description:
124- Returns the connection mode of this environment
125-
126- ##### Return:
127- [string] 'git' or 'sftp'
128-
129- ---
130-
131110### getName
132111##### Description:
133112 Returns the environment's name
311290
312291---
313292
314- ### workflow
315- ##### Description:
316- Start a work flow
317-
318- ##### Parameters:
319- [Workflow] $workflow String work flow "slot"
320-
321- ##### Return:
322- [array]
323-
324- ---
325-
You can’t perform that action at this time.
0 commit comments