Class: CloudFoundry

CloudFoundry

new CloudFoundry(endPoint)

This class manages the authentication with Cloud Foundry https://github.com/cloudfoundry/uaa
Parameters:
Name Type Description
endPoint String [token_enpoint/authorization_endpoint]
Source:

Methods

getInfo() → {Json}

Get information from Cloud Controller http://apidocs.cloudfoundry.org/214/info/get_info.html
Source:
Returns:
[description]
Type
Json

login(endPoint, username, password) → {JSon}

Method to authenticate with Cloud Foundry UAA
Parameters:
Name Type Description
endPoint String [token_enpoint/authorization_endpoint]
username String [username]
password String [password]
Source:
Returns:
[UAA Response]
Type
JSon

setEndPoint(endPoint)

Set endpoint
Parameters:
Name Type Description
endPoint String [token_enpoint/authorization_endpoint]
Source: