# Module: vertx-auth-oauth2-js/cloud_foundry_auth

### Classes

CloudFoundryAuth

### Methods

#### (static) CloudFoundryAuth.create(vertx, clientId, clientSecret, uuaURL, httpClientOptions) → {OAuth2Auth}

Create a OAuth2Auth provider for CloudFoundry UAA

##### Parameters:

Name | Type | Description
--- | --- | ---
`vertx` | Vertx |
`clientId` | string | the client id given to you by CloudFoundry UAA
`clientSecret` | string | the client secret given to you by CloudFoundry UAA
`uuaURL` | string | the url to your UUA server instance
`httpClientOptions` | Object | custom http client options

Source:
  - vertx-auth-oauth2-js/cloud_foundry_auth.js, line 72

##### Returns:

Type
  OAuth2Auth