self signed certs on readmes
This commit is contained in:
parent
b74a88262b
commit
1c9fbf0b17
|
@ -11,6 +11,7 @@ void main() async {
|
|||
.setEndpoint('http://[HOSTNAME_OR_IP]/v1') // Make sure your endpoint is accessible
|
||||
.setProject('5ff3379a01d25') // Your project ID
|
||||
.setKey('cd868c7af8bdc893b4...93b7535db89')
|
||||
.setSelfSigned() // Use only on dev mode with a self-signed SSL cert
|
||||
|
||||
Users users = Users(client);
|
||||
|
||||
|
|
|
@ -10,6 +10,7 @@ client
|
|||
.setEndpoint('https://[HOSTNAME_OR_IP]/v1') // Your API Endpoint
|
||||
.setProject('5df5acd0d48c2') // Your project ID
|
||||
.setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key
|
||||
.setSelfSigned() // Use only on dev mode with a self-signed SSL cert
|
||||
;
|
||||
|
||||
```
|
||||
|
@ -41,6 +42,7 @@ client
|
|||
.setEndpoint('https://[HOSTNAME_OR_IP]/v1') // Your API Endpoint
|
||||
.setProject('5df5acd0d48c2') // Your project ID
|
||||
.setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key
|
||||
.setSelfSigned() // Use only on dev mode with a self-signed SSL cert
|
||||
;
|
||||
|
||||
let promise = users.create('email@example.com', 'password');
|
||||
|
|
|
@ -14,6 +14,7 @@ static async Task Main(string[] args)
|
|||
.setEndpoint('http://[HOSTNAME_OR_IP]/v1') // Make sure your endpoint is accessible
|
||||
.setProject('5ff3379a01d25') // Your project ID
|
||||
.setKey('cd868c7af8bdc893b4...93b7535db89')
|
||||
.setSelfSigned() // Use only on dev mode with a self-signed SSL cert
|
||||
;
|
||||
|
||||
var users = Users(client);
|
||||
|
|
|
@ -58,7 +58,7 @@ Client client = Client();
|
|||
client
|
||||
.setEndpoint('https://localhost/v1') // Your Appwrite Endpoint
|
||||
.setProject('5e8cf4f46b5e8') // Your project ID
|
||||
.setSelfSigned() // Remove in production
|
||||
.setSelfSigned() // Use only on dev mode with a self-signed SSL cert
|
||||
;
|
||||
```
|
||||
|
||||
|
@ -91,7 +91,7 @@ Client client = Client();
|
|||
client
|
||||
.setEndpoint('https://localhost/v1') // Your Appwrite Endpoint
|
||||
.setProject('5e8cf4f46b5e8') // Your project ID
|
||||
.setSelfSigned() // Remove in production
|
||||
.setSelfSigned() // Use only on dev mode with a self-signed SSL cert
|
||||
;
|
||||
|
||||
|
||||
|
|
|
@ -12,6 +12,7 @@ client
|
|||
.setEndpoint('https://[HOSTNAME_OR_IP]/v1') // Your API Endpoint
|
||||
.setProject('5df5acd0d48c2') // Your project ID
|
||||
.setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key
|
||||
.setSelfSigned() // Use only on dev mode with a self-signed SSL cert
|
||||
;
|
||||
```
|
||||
|
||||
|
@ -40,6 +41,7 @@ client
|
|||
.setEndpoint('https://[HOSTNAME_OR_IP]/v1') // Your API Endpoint
|
||||
.setProject('5df5acd0d48c2') // Your project ID
|
||||
.setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key
|
||||
.setSelfSigned() // Use only on dev mode with a self-signed SSL cert
|
||||
;
|
||||
|
||||
let users = new sdk.Users(client);
|
||||
|
|
|
@ -10,6 +10,7 @@ $client
|
|||
->setEndpoint('https://[HOSTNAME_OR_IP]/v1') // Your API Endpoint
|
||||
->setProject('5df5acd0d48c2') // Your project ID
|
||||
->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key
|
||||
->setSelfSigned() // Use only on dev mode with a self-signed SSL cert
|
||||
;
|
||||
```
|
||||
|
||||
|
@ -33,6 +34,7 @@ $client
|
|||
->setEndpoint('https://[HOSTNAME_OR_IP]/v1') // Your API Endpoint
|
||||
->setProject('5df5acd0d48c2') // Your project ID
|
||||
->setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key
|
||||
->setSelfSigned() // Use only on dev mode with a self-signed SSL cert
|
||||
;
|
||||
|
||||
$users = new Users($client);
|
||||
|
|
|
@ -13,6 +13,7 @@ client = Client()
|
|||
.set_endpoint('https://[HOSTNAME_OR_IP]/v1') # Your API Endpoint
|
||||
.set_project('5df5acd0d48c2') # Your project ID
|
||||
.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key
|
||||
.set_self_signed() # Use only on dev mode with a self-signed SSL cert
|
||||
)
|
||||
```
|
||||
|
||||
|
@ -36,6 +37,7 @@ client = Client()
|
|||
.set_endpoint('https://[HOSTNAME_OR_IP]/v1') # Your API Endpoint
|
||||
.set_project('5df5acd0d48c2') # Your project ID
|
||||
.set_key('919c2d18fb5d4...a2ae413da83346ad2') # Your secret API key
|
||||
.set_self_signed() # Use only on dev mode with a self-signed SSL cert
|
||||
)
|
||||
|
||||
users = Users(client)
|
||||
|
|
|
@ -12,6 +12,7 @@ client
|
|||
.set_endpoint(ENV["APPWRITE_ENDPOINT"]) # Your API Endpoint
|
||||
.set_project(ENV["APPWRITE_PROJECT"]) # Your project ID
|
||||
.set_key(ENV["APPWRITE_SECRET"]) # Your secret API key
|
||||
.setSelfSigned() # Use only on dev mode with a self-signed SSL cert
|
||||
;
|
||||
```
|
||||
|
||||
|
@ -34,6 +35,7 @@ client
|
|||
.set_endpoint(ENV["APPWRITE_ENDPOINT"]) # Your API Endpoint
|
||||
.set_project(ENV["APPWRITE_PROJECT"]) # Your project ID
|
||||
.set_key(ENV["APPWRITE_SECRET"]) # Your secret API key
|
||||
.setSelfSigned() # Use only on dev mode with a self-signed SSL cert
|
||||
;
|
||||
|
||||
users = Appwrite::Users.new(client);
|
||||
|
|
|
@ -15,6 +15,7 @@ const appwrite = new Appwrite();
|
|||
appwrite
|
||||
.setEndpoint('http://localhost/v1') // Your Appwrite Endpoint
|
||||
.setProject('455x34dfkj') // Your project ID
|
||||
.setSelfSigned() // Use only on dev mode with a self-signed SSL cert
|
||||
;
|
||||
```
|
||||
|
||||
|
@ -41,6 +42,7 @@ const appwrite = new Appwrite();
|
|||
appwrite
|
||||
.setEndpoint('http://localhost/v1') // Your Appwrite Endpoint
|
||||
.setProject('455x34dfkj')
|
||||
.setSelfSigned() // Use only on dev mode with a self-signed SSL cert
|
||||
;
|
||||
|
||||
// Register User
|
||||
|
|
Loading…
Reference in a new issue