diff --git a/README.md b/README.md
index a7d21f0..135154c 100644
--- a/README.md
+++ b/README.md
@@ -1,3 +1,10 @@
+# Unstable
+
+This library is currently unstable. We know of rough edges
+and are working to bring it to parity with our other API client
+libraries. Please feel free to try it out and let us know if you find
+it useful!
+
# ngrok API client library for Java
This library wraps the [ngrok HTTP API](https://ngrok.com/docs/api) to
@@ -25,7 +32,7 @@ See the above URL for the latest version of the API client.
## Documentation
All objects, methods and properties are documented with Javadoc for
-integration with an IDE like IntelliJ IDEA or Eclipse. You can also
+integration with an IDE like IntelliJ IDEA or Eclipse. You can also
[view the documentation online](https://java-api.docs.ngrok.com/).
Beyond that, this readme is the best source of documentation for the
@@ -35,17 +42,17 @@ library.
This class library is published to Maven Central using semantic
versioning. Breaking changes to the API will only be released with a
-bump of the major version number. Each released commit is tagged in
+bump of the major version number. Each released commit is tagged in
this repository.
No compatibility promises are made for versions < 1.0.0.
### Quickstart
-First, use the ngrok dashboard to generate an API key. Store that in a
-safe place. Inject it into your application using the environment
-variable `NGROK_API_KEY`. The `Ngrok.createDefault()` method will pull
-from that environment variable. If you prefer, you can also pass the API
+First, use the ngrok dashboard to generate an API key. Store that in a
+safe place. Inject it into your application using the environment
+variable `NGROK_API_KEY`. The `Ngrok.createDefault()` method will pull
+from that environment variable. If you prefer, you can also pass the API
key explicitly.
#### Create an IP Policy that allows traffic from some subnets
@@ -114,7 +121,7 @@ resource client classes in your application code.
You can also customize low-level behavior by instantiating the
`DefaultNgrokApiClient` yourself, and then using it to construct the
-`Ngrok` instance. If you'd like to use a different HTTP library
+`Ngrok` instance. If you'd like to use a different HTTP library
entirely, you can even implement the `NgrokApiClient` interface
yourself.
@@ -155,7 +162,7 @@ public class Example {
All list responses from the ngrok API are paged. All list response
objects implement the `Pageable` interface, and are wrapped in a `Page`
-class, which has a `next()` method. Calling `next()` will asyncronously
+class, which has a `next()` method. Calling `next()` will asyncronously
request the next page. If no next page is available, an empty `Optional`
will be returned inside the `CompletionStage`.
@@ -188,7 +195,7 @@ public class Example {
### Error Handling
All errors returned by the ngrok API are serialized as structured
-payloads for easy error handling. If a structured error is returned by
+payloads for easy error handling. If a structured error is returned by
the ngrok API, this library will return a failed `CompletionStage`
containing a `NgrokApiError`.
@@ -246,5 +253,5 @@ of ngrok domain objects.
### Sync / Async Interfaces
The `call()` method on each API client operation is asynchronous and
-returns a `CompletionStage`. If you require a synchronous call, you can
+returns a `CompletionStage`. If you require a synchronous call, you can
use `blockingCall()` instead.
diff --git a/docs/allclasses-index.html b/docs/allclasses-index.html
index 64abc26..0a7c6da 100644
--- a/docs/allclasses-index.html
+++ b/docs/allclasses-index.html
@@ -1,11 +1,11 @@
-
-All Classes and Interfaces (ngrok Java API client 0.3.0 API)
+
+All Classes and Interfaces (ngrok Java API client 0.4.0 API)
-
+
diff --git a/docs/allpackages-index.html b/docs/allpackages-index.html
index 05a26cf..2a28d44 100644
--- a/docs/allpackages-index.html
+++ b/docs/allpackages-index.html
@@ -1,11 +1,11 @@
-
-All Packages (ngrok Java API client 0.3.0 API)
+
+All Packages (ngrok Java API client 0.4.0 API)
-
+
diff --git a/docs/com/ngrok/DefaultNgrokApiClient.Builder.html b/docs/com/ngrok/DefaultNgrokApiClient.Builder.html
index 3ebceb4..4383232 100644
--- a/docs/com/ngrok/DefaultNgrokApiClient.Builder.html
+++ b/docs/com/ngrok/DefaultNgrokApiClient.Builder.html
@@ -1,11 +1,11 @@
-
-DefaultNgrokApiClient.Builder (ngrok Java API client 0.3.0 API)
+
+DefaultNgrokApiClient.Builder (ngrok Java API client 0.4.0 API)
-
+
diff --git a/docs/com/ngrok/DefaultNgrokApiClient.html b/docs/com/ngrok/DefaultNgrokApiClient.html
index a7fd07a..9038138 100644
--- a/docs/com/ngrok/DefaultNgrokApiClient.html
+++ b/docs/com/ngrok/DefaultNgrokApiClient.html
@@ -1,11 +1,11 @@
-
-DefaultNgrokApiClient (ngrok Java API client 0.3.0 API)
+
+DefaultNgrokApiClient (ngrok Java API client 0.4.0 API)
-
+
diff --git a/docs/com/ngrok/Ngrok.BackendsNamespace.html b/docs/com/ngrok/Ngrok.BackendsNamespace.html
index 3905ed1..a1383d7 100644
--- a/docs/com/ngrok/Ngrok.BackendsNamespace.html
+++ b/docs/com/ngrok/Ngrok.BackendsNamespace.html
@@ -1,11 +1,11 @@
-
-Ngrok.BackendsNamespace (ngrok Java API client 0.3.0 API)
+
+Ngrok.BackendsNamespace (ngrok Java API client 0.4.0 API)
-
+
diff --git a/docs/com/ngrok/Ngrok.EdgeModulesNamespace.html b/docs/com/ngrok/Ngrok.EdgeModulesNamespace.html
index e33e485..ea7b4aa 100644
--- a/docs/com/ngrok/Ngrok.EdgeModulesNamespace.html
+++ b/docs/com/ngrok/Ngrok.EdgeModulesNamespace.html
@@ -1,11 +1,11 @@
-
-Ngrok.EdgeModulesNamespace (ngrok Java API client 0.3.0 API)
+
+Ngrok.EdgeModulesNamespace (ngrok Java API client 0.4.0 API)
-
+
diff --git a/docs/com/ngrok/Ngrok.EdgesNamespace.html b/docs/com/ngrok/Ngrok.EdgesNamespace.html
index 202dc20..ea2145b 100644
--- a/docs/com/ngrok/Ngrok.EdgesNamespace.html
+++ b/docs/com/ngrok/Ngrok.EdgesNamespace.html
@@ -1,11 +1,11 @@
-
-Ngrok.EdgesNamespace (ngrok Java API client 0.3.0 API)
+
+Ngrok.EdgesNamespace (ngrok Java API client 0.4.0 API)
-
+
diff --git a/docs/com/ngrok/Ngrok.html b/docs/com/ngrok/Ngrok.html
index 1d0aa01..eee656e 100644
--- a/docs/com/ngrok/Ngrok.html
+++ b/docs/com/ngrok/Ngrok.html
@@ -1,11 +1,11 @@
-
-Ngrok (ngrok Java API client 0.3.0 API)
+
+Ngrok (ngrok Java API client 0.4.0 API)
-
+
diff --git a/docs/com/ngrok/NgrokApiClient.HttpMethod.html b/docs/com/ngrok/NgrokApiClient.HttpMethod.html
index 3fe6cd3..cae905a 100644
--- a/docs/com/ngrok/NgrokApiClient.HttpMethod.html
+++ b/docs/com/ngrok/NgrokApiClient.HttpMethod.html
@@ -1,11 +1,11 @@
-
-NgrokApiClient.HttpMethod (ngrok Java API client 0.3.0 API)
+
+NgrokApiClient.HttpMethod (ngrok Java API client 0.4.0 API)
-
+
diff --git a/docs/com/ngrok/NgrokApiClient.html b/docs/com/ngrok/NgrokApiClient.html
index dd03915..3e6f923 100644
--- a/docs/com/ngrok/NgrokApiClient.html
+++ b/docs/com/ngrok/NgrokApiClient.html
@@ -1,11 +1,11 @@
-
-NgrokApiClient (ngrok Java API client 0.3.0 API)
+
+NgrokApiClient (ngrok Java API client 0.4.0 API)
-
+
diff --git a/docs/com/ngrok/Version.html b/docs/com/ngrok/Version.html
index 5bc5f37..14c9a64 100644
--- a/docs/com/ngrok/Version.html
+++ b/docs/com/ngrok/Version.html
@@ -1,11 +1,11 @@
-
-Version (ngrok Java API client 0.3.0 API)
+
+Version (ngrok Java API client 0.4.0 API)
-
+
diff --git a/docs/com/ngrok/class-use/DefaultNgrokApiClient.Builder.html b/docs/com/ngrok/class-use/DefaultNgrokApiClient.Builder.html
index 21c33d0..b31a21c 100644
--- a/docs/com/ngrok/class-use/DefaultNgrokApiClient.Builder.html
+++ b/docs/com/ngrok/class-use/DefaultNgrokApiClient.Builder.html
@@ -1,11 +1,11 @@
-
-Uses of Class com.ngrok.DefaultNgrokApiClient.Builder (ngrok Java API client 0.3.0 API)
+
+Uses of Class com.ngrok.DefaultNgrokApiClient.Builder (ngrok Java API client 0.4.0 API)
-
+
diff --git a/docs/com/ngrok/class-use/DefaultNgrokApiClient.html b/docs/com/ngrok/class-use/DefaultNgrokApiClient.html
index cc55f8f..61bd97c 100644
--- a/docs/com/ngrok/class-use/DefaultNgrokApiClient.html
+++ b/docs/com/ngrok/class-use/DefaultNgrokApiClient.html
@@ -1,11 +1,11 @@
-
-Uses of Class com.ngrok.DefaultNgrokApiClient (ngrok Java API client 0.3.0 API)
+
+Uses of Class com.ngrok.DefaultNgrokApiClient (ngrok Java API client 0.4.0 API)
-
+
diff --git a/docs/com/ngrok/class-use/Ngrok.BackendsNamespace.html b/docs/com/ngrok/class-use/Ngrok.BackendsNamespace.html
index 4e18aef..4bab72b 100644
--- a/docs/com/ngrok/class-use/Ngrok.BackendsNamespace.html
+++ b/docs/com/ngrok/class-use/Ngrok.BackendsNamespace.html
@@ -1,11 +1,11 @@
-
-Uses of Class com.ngrok.Ngrok.BackendsNamespace (ngrok Java API client 0.3.0 API)
+
+Uses of Class com.ngrok.Ngrok.BackendsNamespace (ngrok Java API client 0.4.0 API)
-
+
diff --git a/docs/com/ngrok/class-use/Ngrok.EdgeModulesNamespace.html b/docs/com/ngrok/class-use/Ngrok.EdgeModulesNamespace.html
index 8005220..1390838 100644
--- a/docs/com/ngrok/class-use/Ngrok.EdgeModulesNamespace.html
+++ b/docs/com/ngrok/class-use/Ngrok.EdgeModulesNamespace.html
@@ -1,11 +1,11 @@
-
-Uses of Class com.ngrok.Ngrok.EdgeModulesNamespace (ngrok Java API client 0.3.0 API)
+
+Uses of Class com.ngrok.Ngrok.EdgeModulesNamespace (ngrok Java API client 0.4.0 API)
-
+
diff --git a/docs/com/ngrok/class-use/Ngrok.EdgesNamespace.html b/docs/com/ngrok/class-use/Ngrok.EdgesNamespace.html
index ba242e9..b3924b1 100644
--- a/docs/com/ngrok/class-use/Ngrok.EdgesNamespace.html
+++ b/docs/com/ngrok/class-use/Ngrok.EdgesNamespace.html
@@ -1,11 +1,11 @@
-
-Uses of Class com.ngrok.Ngrok.EdgesNamespace (ngrok Java API client 0.3.0 API)
+
+Uses of Class com.ngrok.Ngrok.EdgesNamespace (ngrok Java API client 0.4.0 API)
-
+
diff --git a/docs/com/ngrok/class-use/Ngrok.html b/docs/com/ngrok/class-use/Ngrok.html
index 5b6f976..e0b508b 100644
--- a/docs/com/ngrok/class-use/Ngrok.html
+++ b/docs/com/ngrok/class-use/Ngrok.html
@@ -1,11 +1,11 @@
-
-Uses of Class com.ngrok.Ngrok (ngrok Java API client 0.3.0 API)
+
+Uses of Class com.ngrok.Ngrok (ngrok Java API client 0.4.0 API)
-
+
diff --git a/docs/com/ngrok/class-use/NgrokApiClient.HttpMethod.html b/docs/com/ngrok/class-use/NgrokApiClient.HttpMethod.html
index ab705a4..9a12731 100644
--- a/docs/com/ngrok/class-use/NgrokApiClient.HttpMethod.html
+++ b/docs/com/ngrok/class-use/NgrokApiClient.HttpMethod.html
@@ -1,11 +1,11 @@
-
-Uses of Enum com.ngrok.NgrokApiClient.HttpMethod (ngrok Java API client 0.3.0 API)
+
+Uses of Enum com.ngrok.NgrokApiClient.HttpMethod (ngrok Java API client 0.4.0 API)
-
+
diff --git a/docs/com/ngrok/class-use/NgrokApiClient.html b/docs/com/ngrok/class-use/NgrokApiClient.html
index c0b92f8..64908f4 100644
--- a/docs/com/ngrok/class-use/NgrokApiClient.html
+++ b/docs/com/ngrok/class-use/NgrokApiClient.html
@@ -1,11 +1,11 @@
-
-Uses of Interface com.ngrok.NgrokApiClient (ngrok Java API client 0.3.0 API)
+
+Uses of Interface com.ngrok.NgrokApiClient (ngrok Java API client 0.4.0 API)
-
+
diff --git a/docs/com/ngrok/class-use/Version.html b/docs/com/ngrok/class-use/Version.html
index e73d951..4243adc 100644
--- a/docs/com/ngrok/class-use/Version.html
+++ b/docs/com/ngrok/class-use/Version.html
@@ -1,11 +1,11 @@
-
-Uses of Class com.ngrok.Version (ngrok Java API client 0.3.0 API)
+
+Uses of Class com.ngrok.Version (ngrok Java API client 0.4.0 API)
-
+
diff --git a/docs/com/ngrok/definitions/AbuseReport.html b/docs/com/ngrok/definitions/AbuseReport.html
index a92dc41..12f666b 100644
--- a/docs/com/ngrok/definitions/AbuseReport.html
+++ b/docs/com/ngrok/definitions/AbuseReport.html
@@ -1,11 +1,11 @@
-
-AbuseReport (ngrok Java API client 0.3.0 API)
+
+AbuseReport (ngrok Java API client 0.4.0 API)
-
+
diff --git a/docs/com/ngrok/definitions/AbuseReportHostname.html b/docs/com/ngrok/definitions/AbuseReportHostname.html
index 5b6d38f..3679b82 100644
--- a/docs/com/ngrok/definitions/AbuseReportHostname.html
+++ b/docs/com/ngrok/definitions/AbuseReportHostname.html
@@ -1,11 +1,11 @@
-
-AbuseReportHostname (ngrok Java API client 0.3.0 API)
+
+AbuseReportHostname (ngrok Java API client 0.4.0 API)
-
+
diff --git a/docs/com/ngrok/definitions/AgentIngress.html b/docs/com/ngrok/definitions/AgentIngress.html
index df12f29..c047d85 100644
--- a/docs/com/ngrok/definitions/AgentIngress.html
+++ b/docs/com/ngrok/definitions/AgentIngress.html
@@ -1,11 +1,11 @@
-
-AgentIngress (ngrok Java API client 0.3.0 API)
+
+AgentIngress (ngrok Java API client 0.4.0 API)
-
+
diff --git a/docs/com/ngrok/definitions/AgentIngressList.html b/docs/com/ngrok/definitions/AgentIngressList.html
index bfa7211..8c9277f 100644
--- a/docs/com/ngrok/definitions/AgentIngressList.html
+++ b/docs/com/ngrok/definitions/AgentIngressList.html
@@ -1,11 +1,11 @@
-
-AgentIngressList (ngrok Java API client 0.3.0 API)
+
+AgentIngressList (ngrok Java API client 0.4.0 API)
-
+
diff --git a/docs/com/ngrok/definitions/ApiKey.html b/docs/com/ngrok/definitions/ApiKey.html
index b8914bc..3c27005 100644
--- a/docs/com/ngrok/definitions/ApiKey.html
+++ b/docs/com/ngrok/definitions/ApiKey.html
@@ -1,11 +1,11 @@
-
-ApiKey (ngrok Java API client 0.3.0 API)
+
+ApiKey (ngrok Java API client 0.4.0 API)
-
+
diff --git a/docs/com/ngrok/definitions/ApiKeyList.html b/docs/com/ngrok/definitions/ApiKeyList.html
index efc9f8b..d690693 100644
--- a/docs/com/ngrok/definitions/ApiKeyList.html
+++ b/docs/com/ngrok/definitions/ApiKeyList.html
@@ -1,11 +1,11 @@
-
-ApiKeyList (ngrok Java API client 0.3.0 API)
+
+ApiKeyList (ngrok Java API client 0.4.0 API)
-
+
diff --git a/docs/com/ngrok/definitions/AwsAuth.Builder.html b/docs/com/ngrok/definitions/AwsAuth.Builder.html
index a60c477..7ce3caa 100644
--- a/docs/com/ngrok/definitions/AwsAuth.Builder.html
+++ b/docs/com/ngrok/definitions/AwsAuth.Builder.html
@@ -1,11 +1,11 @@
-
-AwsAuth.Builder (ngrok Java API client 0.3.0 API)
+
+AwsAuth.Builder (ngrok Java API client 0.4.0 API)
-
+
diff --git a/docs/com/ngrok/definitions/AwsAuth.html b/docs/com/ngrok/definitions/AwsAuth.html
index e61ab28..72d8cad 100644
--- a/docs/com/ngrok/definitions/AwsAuth.html
+++ b/docs/com/ngrok/definitions/AwsAuth.html
@@ -1,11 +1,11 @@
-
-AwsAuth (ngrok Java API client 0.3.0 API)
+
+AwsAuth (ngrok Java API client 0.4.0 API)
-
+
diff --git a/docs/com/ngrok/definitions/AwsCredentials.Builder.html b/docs/com/ngrok/definitions/AwsCredentials.Builder.html
index 5d0f2d8..8cedef0 100644
--- a/docs/com/ngrok/definitions/AwsCredentials.Builder.html
+++ b/docs/com/ngrok/definitions/AwsCredentials.Builder.html
@@ -1,11 +1,11 @@
-
-AwsCredentials.Builder (ngrok Java API client 0.3.0 API)
+
+AwsCredentials.Builder (ngrok Java API client 0.4.0 API)
-
+
diff --git a/docs/com/ngrok/definitions/AwsCredentials.html b/docs/com/ngrok/definitions/AwsCredentials.html
index 1091115..8c6b335 100644
--- a/docs/com/ngrok/definitions/AwsCredentials.html
+++ b/docs/com/ngrok/definitions/AwsCredentials.html
@@ -1,11 +1,11 @@
-
-AwsCredentials (ngrok Java API client 0.3.0 API)
+
+AwsCredentials (ngrok Java API client 0.4.0 API)
-
+
diff --git a/docs/com/ngrok/definitions/AwsRole.Builder.html b/docs/com/ngrok/definitions/AwsRole.Builder.html
index df32df6..84f1fec 100644
--- a/docs/com/ngrok/definitions/AwsRole.Builder.html
+++ b/docs/com/ngrok/definitions/AwsRole.Builder.html
@@ -1,11 +1,11 @@
-
-AwsRole.Builder (ngrok Java API client 0.3.0 API)
+
+AwsRole.Builder (ngrok Java API client 0.4.0 API)
-
+
diff --git a/docs/com/ngrok/definitions/AwsRole.html b/docs/com/ngrok/definitions/AwsRole.html
index 240b506..ccb49da 100644
--- a/docs/com/ngrok/definitions/AwsRole.html
+++ b/docs/com/ngrok/definitions/AwsRole.html
@@ -1,11 +1,11 @@
-
-AwsRole (ngrok Java API client 0.3.0 API)
+
+AwsRole (ngrok Java API client 0.4.0 API)
-
+
diff --git a/docs/com/ngrok/definitions/CertificateAuthority.html b/docs/com/ngrok/definitions/CertificateAuthority.html
index 9f0cc52..aa442e6 100644
--- a/docs/com/ngrok/definitions/CertificateAuthority.html
+++ b/docs/com/ngrok/definitions/CertificateAuthority.html
@@ -1,11 +1,11 @@
-
-CertificateAuthority (ngrok Java API client 0.3.0 API)
+
+CertificateAuthority (ngrok Java API client 0.4.0 API)
-
+
diff --git a/docs/com/ngrok/definitions/CertificateAuthorityList.html b/docs/com/ngrok/definitions/CertificateAuthorityList.html
index 777dbb7..4b2c0bf 100644
--- a/docs/com/ngrok/definitions/CertificateAuthorityList.html
+++ b/docs/com/ngrok/definitions/CertificateAuthorityList.html
@@ -1,11 +1,11 @@
-
-CertificateAuthorityList (ngrok Java API client 0.3.0 API)
+
+CertificateAuthorityList (ngrok Java API client 0.4.0 API)
-
+
diff --git a/docs/com/ngrok/definitions/Credential.html b/docs/com/ngrok/definitions/Credential.html
index 2b34285..3aa5239 100644
--- a/docs/com/ngrok/definitions/Credential.html
+++ b/docs/com/ngrok/definitions/Credential.html
@@ -1,11 +1,11 @@
-
-Credential (ngrok Java API client 0.3.0 API)
+
+Credential (ngrok Java API client 0.4.0 API)
-
+
@@ -147,7 +147,7 @@ loadScripts(document, 'script');
createdAt - timestamp when the tunnel credential was created, RFC 3339 format
description - human-readable description of who or what will use the credential to authenticate. Optional, max 255 bytes.
metadata - arbitrary user-defined machine-readable data of this credential. Optional, max 4096 bytes.
-
token - the credential's authtoken that can be used to authenticate an ngrok client. This value is only available one time, on the API response from credential creation, otherwise it is null.
+
token - the credential's authtoken that can be used to authenticate an ngrok agent. This value is only available one time, on the API response from credential creation, otherwise it is null.
acl - optional list of ACL rules. If unspecified, the credential will have no restrictions. The only allowed ACL rule at this time is the bind rule. The bind rule allows the caller to restrict what domains and addresses the token is allowed to bind. For example, to allow the token to open a tunnel on example.ngrok.io your ACL would include the rule bind:example.ngrok.io. Bind rules may specify a leading wildcard to match multiple domains with a common suffix. For example, you may specify a rule of bind:*.example.com which will allow x.example.com, y.example.com, *.example.com, etc. A rule of '*' is equivalent to no acl at all and will explicitly permit all actions.
the credential's authtoken that can be used to authenticate an ngrok client.
+
the credential's authtoken that can be used to authenticate an ngrok agent.
This value is only available one time, on the API response from
credential creation, otherwise it is null.
publicKey - a public key in OpenSSH Authorized Keys format that this certificate signs
keyType - the key type of the public_key, one of rsa, ecdsa or ed25519
sshCertificateAuthorityId - the ssh certificate authority that is used to sign this ssh user certificate
-
principals - the list of principals included in the ssh user certificate. This is the list of usernames that the certificate holder may sign in as on a machine authorizinig the signing certificate authority. Dangerously, if no principals are specified, this certificate may be used to log in as any user.
+
principals - the list of principals included in the ssh user certificate. This is the list of usernames that the certificate holder may sign in as on a machine authorizing the signing certificate authority. Dangerously, if no principals are specified, this certificate may be used to log in as any user.
criticalOptions - A map of critical options included in the certificate. Only two critical options are currently defined by OpenSSH: force-command and source-address. See the OpenSSH certificate protocol spec for additional details.
extensions - A map of extensions included in the certificate. Extensions are additional metadata that can be interpreted by the SSH server for any purpose. These can be used to permit or deny the ability to open a terminal, do port forwarding, x11 forwarding, and more. If unspecified, the certificate will include limited permissions with the following extension map: {"permit-pty": "", "permit-user-rc": ""} OpenSSH understands a number of predefined extensions. See the OpenSSH certificate protocol spec for additional details.
validAfter - the time when the ssh host certificate becomes valid, in RFC 3339 format.
the list of principals included in the ssh user certificate. This is the list of
- usernames that the certificate holder may sign in as on a machine authorizinig
+ usernames that the certificate holder may sign in as on a machine authorizing
the signing certificate authority. Dangerously, if no principals are specified,
this certificate may be used to log in as any user.
the list of principals included in the ssh user certificate. This is the list of
- usernames that the certificate holder may sign in as on a machine authorizinig
+ usernames that the certificate holder may sign in as on a machine authorizing
the signing certificate authority. Dangerously, if no principals are specified,
this certificate may be used to log in as any user.
the list of principals included in the ssh user certificate. This is the list of
- usernames that the certificate holder may sign in as on a machine authorizinig
+ usernames that the certificate holder may sign in as on a machine authorizing
the signing certificate authority. Dangerously, if no principals are specified,
this certificate may be used to log in as any user.
diff --git a/docs/overview-summary.html b/docs/overview-summary.html
index f8a9fd2..5dc2321 100644
--- a/docs/overview-summary.html
+++ b/docs/overview-summary.html
@@ -1,11 +1,11 @@
-
-ngrok Java API client 0.3.0 API
+
+ngrok Java API client 0.4.0 API
-
+
diff --git a/docs/overview-tree.html b/docs/overview-tree.html
index 0fcded2..c5d2666 100644
--- a/docs/overview-tree.html
+++ b/docs/overview-tree.html
@@ -1,11 +1,11 @@
-
-Class Hierarchy (ngrok Java API client 0.3.0 API)
+
+Class Hierarchy (ngrok Java API client 0.4.0 API)
-
+
diff --git a/docs/serialized-form.html b/docs/serialized-form.html
index 5957b87..4400254 100644
--- a/docs/serialized-form.html
+++ b/docs/serialized-form.html
@@ -1,11 +1,11 @@
-
-Serialized Form (ngrok Java API client 0.3.0 API)
+
+Serialized Form (ngrok Java API client 0.4.0 API)
-
+
diff --git a/pom.xml b/pom.xml
index da27751..1fe0177 100644
--- a/pom.xml
+++ b/pom.xml
@@ -4,7 +4,7 @@
com.ngrokngrok-api-java
- 0.3.1-SNAPSHOT
+ 0.4.1-SNAPSHOTngrok Java API clientngrok API client for Java applications
diff --git a/src/main/java/com/ngrok/definitions/Credential.java b/src/main/java/com/ngrok/definitions/Credential.java
index 896e71a..bf5087f 100644
--- a/src/main/java/com/ngrok/definitions/Credential.java
+++ b/src/main/java/com/ngrok/definitions/Credential.java
@@ -43,7 +43,7 @@ public class Credential {
* @param createdAt timestamp when the tunnel credential was created, RFC 3339 format
* @param description human-readable description of who or what will use the credential to authenticate. Optional, max 255 bytes.
* @param metadata arbitrary user-defined machine-readable data of this credential. Optional, max 4096 bytes.
- * @param token the credential's authtoken that can be used to authenticate an ngrok client. This value is only available one time, on the API response from credential creation, otherwise it is null.
+ * @param token the credential's authtoken that can be used to authenticate an ngrok agent. This value is only available one time, on the API response from credential creation, otherwise it is null.
* @param acl optional list of ACL rules. If unspecified, the credential will have no restrictions. The only allowed ACL rule at this time is the bind rule. The bind rule allows the caller to restrict what domains and addresses the token is allowed to bind. For example, to allow the token to open a tunnel on example.ngrok.io your ACL would include the rule bind:example.ngrok.io. Bind rules may specify a leading wildcard to match multiple domains with a common suffix. For example, you may specify a rule of bind:*.example.com which will allow x.example.com, y.example.com, *.example.com, etc. A rule of '*' is equivalent to no acl at all and will explicitly permit all actions.
*/
@JsonCreator
@@ -113,7 +113,7 @@ public class Credential {
}
/**
- * the credential's authtoken that can be used to authenticate an ngrok client.
+ * the credential's authtoken that can be used to authenticate an ngrok agent.
* This value is only available one time, on the API response from
* credential creation, otherwise it is null.
*
diff --git a/src/main/java/com/ngrok/definitions/EndpointMutualTlsMutate.java b/src/main/java/com/ngrok/definitions/EndpointMutualTlsMutate.java
index ff38f0a..f539edf 100644
--- a/src/main/java/com/ngrok/definitions/EndpointMutualTlsMutate.java
+++ b/src/main/java/com/ngrok/definitions/EndpointMutualTlsMutate.java
@@ -50,7 +50,7 @@ public class EndpointMutualTlsMutate {
/**
* list of certificate authorities that will be used to validate the TLS client
- * certificate presnted by the initiatiator of the TLS connection
+ * certificate presented by the initiator of the TLS connection
*
* @param certificateAuthorityIds the value of the certificate_authority_ids parameter as a {@link java.util.List}
* @return this builder instance
@@ -62,7 +62,7 @@ public class EndpointMutualTlsMutate {
/**
* list of certificate authorities that will be used to validate the TLS client
- * certificate presnted by the initiatiator of the TLS connection
+ * certificate presented by the initiator of the TLS connection
*
* @param certificateAuthorityIds the value of the certificate_authority_ids parameter as a {@link java.util.List}, wrapped in an {@link Optional}
* @return this builder instance
@@ -107,7 +107,7 @@ public class EndpointMutualTlsMutate {
* Creates a new instance of {@link EndpointMutualTlsMutate}.
*
* @param enabled true if the module will be applied to traffic, false to disable. default true if unspecified
- * @param certificateAuthorityIds list of certificate authorities that will be used to validate the TLS client certificate presnted by the initiatiator of the TLS connection
+ * @param certificateAuthorityIds list of certificate authorities that will be used to validate the TLS client certificate presented by the initiator of the TLS connection
*/
@JsonCreator
private EndpointMutualTlsMutate(
@@ -130,7 +130,7 @@ public class EndpointMutualTlsMutate {
/**
* list of certificate authorities that will be used to validate the TLS client
- * certificate presnted by the initiatiator of the TLS connection
+ * certificate presented by the initiator of the TLS connection
*
* @return the value of the property as a {@link java.util.List}
*/
diff --git a/src/main/java/com/ngrok/definitions/IpRestrictionList.java b/src/main/java/com/ngrok/definitions/IpRestrictionList.java
index 591978a..5362f94 100644
--- a/src/main/java/com/ngrok/definitions/IpRestrictionList.java
+++ b/src/main/java/com/ngrok/definitions/IpRestrictionList.java
@@ -27,7 +27,7 @@ public class IpRestrictionList implements Pageable {
* Creates a new instance of {@link IpRestrictionList}.
*
* @param ipRestrictions the list of all IP restrictions on this account
- * @param uri URI of the IP resrtrictions list API resource
+ * @param uri URI of the IP restrictions list API resource
* @param nextPageUri URI of the next page, or null if there is no next page
*/
@JsonCreator
@@ -51,7 +51,7 @@ public class IpRestrictionList implements Pageable {
}
/**
- * URI of the IP resrtrictions list API resource
+ * URI of the IP restrictions list API resource
*
* @return the value of the property as a {@link java.net.URI}
*/
diff --git a/src/main/java/com/ngrok/definitions/SshUserCertificate.java b/src/main/java/com/ngrok/definitions/SshUserCertificate.java
index 75d3bad..206913c 100644
--- a/src/main/java/com/ngrok/definitions/SshUserCertificate.java
+++ b/src/main/java/com/ngrok/definitions/SshUserCertificate.java
@@ -67,7 +67,7 @@ public class SshUserCertificate {
* @param publicKey a public key in OpenSSH Authorized Keys format that this certificate signs
* @param keyType the key type of the public_key, one of rsa, ecdsa or ed25519
* @param sshCertificateAuthorityId the ssh certificate authority that is used to sign this ssh user certificate
- * @param principals the list of principals included in the ssh user certificate. This is the list of usernames that the certificate holder may sign in as on a machine authorizinig the signing certificate authority. Dangerously, if no principals are specified, this certificate may be used to log in as any user.
+ * @param principals the list of principals included in the ssh user certificate. This is the list of usernames that the certificate holder may sign in as on a machine authorizing the signing certificate authority. Dangerously, if no principals are specified, this certificate may be used to log in as any user.
* @param criticalOptions A map of critical options included in the certificate. Only two critical options are currently defined by OpenSSH: force-command and source-address. See the OpenSSH certificate protocol spec for additional details.
* @param extensions A map of extensions included in the certificate. Extensions are additional metadata that can be interpreted by the SSH server for any purpose. These can be used to permit or deny the ability to open a terminal, do port forwarding, x11 forwarding, and more. If unspecified, the certificate will include limited permissions with the following extension map: {"permit-pty": "", "permit-user-rc": ""} OpenSSH understands a number of predefined extensions. See the OpenSSH certificate protocol spec for additional details.
* @param validAfter the time when the ssh host certificate becomes valid, in RFC 3339 format.
@@ -185,7 +185,7 @@ public class SshUserCertificate {
/**
* the list of principals included in the ssh user certificate. This is the list of
- * usernames that the certificate holder may sign in as on a machine authorizinig
+ * usernames that the certificate holder may sign in as on a machine authorizing
* the signing certificate authority. Dangerously, if no principals are specified,
* this certificate may be used to log in as any user.
*
diff --git a/src/main/java/com/ngrok/definitions/WeightedBackend.java b/src/main/java/com/ngrok/definitions/WeightedBackend.java
index 8973692..88e4d66 100644
--- a/src/main/java/com/ngrok/definitions/WeightedBackend.java
+++ b/src/main/java/com/ngrok/definitions/WeightedBackend.java
@@ -40,7 +40,7 @@ public class WeightedBackend {
* @param createdAt timestamp when the backend was created, RFC 3339 format
* @param description human-readable description of this backend. Optional
* @param metadata arbitrary user-defined machine-readable data of this backend. Optional
- * @param backends the ids of the child backends to their weights (0-10000)
+ * @param backends the ids of the child backends to their weights [0-10000]
*/
@JsonCreator
public WeightedBackend(
@@ -105,7 +105,7 @@ public class WeightedBackend {
}
/**
- * the ids of the child backends to their weights (0-10000)
+ * the ids of the child backends to their weights [0-10000]
*
* @return the value of the property as a {@link java.util.Map}
*/
diff --git a/src/main/java/com/ngrok/services/FailoverBackends.java b/src/main/java/com/ngrok/services/FailoverBackends.java
index ba1a02d..89d07a3 100644
--- a/src/main/java/com/ngrok/services/FailoverBackends.java
+++ b/src/main/java/com/ngrok/services/FailoverBackends.java
@@ -198,7 +198,7 @@ public class FailoverBackends {
}
/**
- * Delete a Failover backend by ID. TODO what if used?
+ * Delete a Failover backend by ID.
*
* See also https://ngrok.com/docs/api#api-failover-backends-delete.
*
diff --git a/src/main/java/com/ngrok/services/SshUserCertificates.java b/src/main/java/com/ngrok/services/SshUserCertificates.java
index dccf750..02edccd 100644
--- a/src/main/java/com/ngrok/services/SshUserCertificates.java
+++ b/src/main/java/com/ngrok/services/SshUserCertificates.java
@@ -54,7 +54,7 @@ public class SshUserCertificates {
/**
* the list of principals included in the ssh user certificate. This is the list of
- * usernames that the certificate holder may sign in as on a machine authorizinig
+ * usernames that the certificate holder may sign in as on a machine authorizing
* the signing certificate authority. Dangerously, if no principals are specified,
* this certificate may be used to log in as any user.
*
@@ -68,7 +68,7 @@ public class SshUserCertificates {
/**
* the list of principals included in the ssh user certificate. This is the list of
- * usernames that the certificate holder may sign in as on a machine authorizinig
+ * usernames that the certificate holder may sign in as on a machine authorizing
* the signing certificate authority. Dangerously, if no principals are specified,
* this certificate may be used to log in as any user.
*
diff --git a/src/main/java/com/ngrok/services/TunnelGroupBackends.java b/src/main/java/com/ngrok/services/TunnelGroupBackends.java
index 403b0a1..d6f5dd8 100644
--- a/src/main/java/com/ngrok/services/TunnelGroupBackends.java
+++ b/src/main/java/com/ngrok/services/TunnelGroupBackends.java
@@ -196,7 +196,7 @@ public class TunnelGroupBackends {
}
/**
- * Delete a TunnelGroup backend by ID. TODO what if used?
+ * Delete a TunnelGroup backend by ID.
*
* See also https://ngrok.com/docs/api#api-tunnel-group-backends-delete.
*
diff --git a/src/main/java/com/ngrok/services/WeightedBackends.java b/src/main/java/com/ngrok/services/WeightedBackends.java
index f64a7fe..2d705ab 100644
--- a/src/main/java/com/ngrok/services/WeightedBackends.java
+++ b/src/main/java/com/ngrok/services/WeightedBackends.java
@@ -88,7 +88,7 @@ public class WeightedBackends {
}
/**
- * the ids of the child backends to their weights (0-10000)
+ * the ids of the child backends to their weights [0-10000]
*
* @param backends the value of the backends parameter as a {@link java.util.Map}
* @return the call builder instance
@@ -99,7 +99,7 @@ public class WeightedBackends {
}
/**
- * the ids of the child backends to their weights (0-10000)
+ * the ids of the child backends to their weights [0-10000]
*
* @param backends the value of the backends parameter as an {@link Optional} of {@link java.util.Map}
* @return the call builder instance
@@ -198,7 +198,7 @@ public class WeightedBackends {
}
/**
- * Delete a Weighted backend by ID. TODO what if used?
+ * Delete a Weighted backend by ID.
*
* See also https://ngrok.com/docs/api#api-weighted-backends-delete.
*
@@ -432,7 +432,7 @@ public class WeightedBackends {
}
/**
- * the ids of the child backends to their weights (0-10000)
+ * the ids of the child backends to their weights [0-10000]
*
* @param backends the value of the backends parameter as a {@link java.util.Map}
* @return the call builder instance
@@ -443,7 +443,7 @@ public class WeightedBackends {
}
/**
- * the ids of the child backends to their weights (0-10000)
+ * the ids of the child backends to their weights [0-10000]
*
* @param backends the value of the backends parameter as an {@link Optional} of {@link java.util.Map}
* @return the call builder instance