public function setAuthToken($tenantKey, $authToken, $authTokenExpiration)
    {
        if ($this->tenantTokens[$tenantKey] == null) {
            $this->tenantTokens[$tenantKey] = array();
        }
        $this->tenantTokens[$tenantKey]['authToken'] = $authToken;
        $this->tenantTokens[$tenantKey]['authTokenExpiration'] = $authTokenExpiration;
    }
public function setAuthToken($tenantKey, $authToken, $authTokenExpiration)
    {
        if ($this->tenantTokens[$tenantKey] == null) {
            $this->tenantTokens[$tenantKey] = array();
        }
        $this->tenantTokens[$tenantKey]['authToken'] = $authToken;
        $this->tenantTokens[$tenantKey]['authTokenExpiration'] = $authTokenExpiration;
    }
public function setAuthToken ( $ tenantKey , $ authToken , $ authTokenExpiration ) { if ( $ this -> tenantTokens [ $ tenantKey ] == null ) { $ this -> tenantTokens [ $ tenantKey ] = array ( ) ; } $ this -> tenantTokens [ $ tenantKey ] [ 'authToken' ] = $ authToken ; $ this -> tenantTokens [ $ tenantKey ] [ 'authTokenExpiration' ] = $ authTokenExpiration ; }
Set the authentication token in the tenantTokens array.
@param  string $tenantKey Tenant key for which auth toke to be set
@param  string $authToken Authentication token to be set
@param  string $authTokenExpiration Authentication token expiration value
Set the authentication token in the tenantTokens array .