Skip to content

Commit

Permalink
Remove brackets usage for instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
ldclakmal committed Jun 2, 2021
1 parent 6891c44 commit 7355b26
Show file tree
Hide file tree
Showing 22 changed files with 31 additions and 28 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ username="bob"
password="password2"
scopes=["scope2", "scope3"]' > Config.toml

# (You may need to change the certificate file path and private key file path.)
# You may need to change the certificate file path and private key file path.
bal run graphql_service_basic_auth_file_user_store.bal
[ballerina/http] started HTTPS/WSS listener 0.0.0.0:9090
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# (You may need to change the certificate file path and private key file path.)
# You may need to change the certificate file path and private key file path.
bal run graphql_service_basic_auth_ldap_user_store.bal
[ballerina/http] started HTTPS/WSS listener 0.0.0.0:9090
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# (You may need to change the certificate file path, private key file path and
# trusted certificate file path.)
# You may need to change the certificate file path, private key file path, and
# trusted certificate file path.
bal run graphql_service_jwt_auth.bal
[ballerina/http] started HTTPS/WSS listener 0.0.0.0:9090
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
# You may need to change the certificate file path, private key file path, and
# trusted certificate file path.
bal run graphql_service_mutual_ssl.bal
[ballerina/http] started HTTPS/WSS listener 0.0.0.0:9090
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# (You may need to change the certificate file path, private key file path and
# trusted certificate file path.)
# You may need to change the certificate file path, private key file path, and
# trusted certificate file path.
bal run graphql_service_oauth2.bal
[ballerina/http] started HTTPS/WSS listener 0.0.0.0:9090
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# (You may need to change the certificate file path and private key file path.)
# You may need to change the certificate file path and private key file path.
bal run graphql_service_ssl_tls.bal
[ballerina/http] started HTTPS/WSS listener 0.0.0.0:9090
2 changes: 1 addition & 1 deletion examples/http-client-basic-auth/http_client_basic_auth.out
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# As a prerequisite, start a sample service secured with Basic Auth.
# (You may need to change the trusted certificate file path.)
# You may need to change the trusted certificate file path.
bal run http_client_basic_auth.bal
Hello, World!
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# As a prerequisite, start a secured sample service.
# You may need to change the trusted certificate file path.
bal run http_client_bearer_token_auth.bal
Hello, World!
4 changes: 2 additions & 2 deletions examples/http-client-mutual-ssl/http_client_mutual_ssl.out
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# As a prerequisite, start a sample service secured with mutual SSL.
# (You may need to change the certificate file path, private key file path and
# trusted certificate file path.)
# You may need to change the certificate file path, private key file path, and
# trusted certificate file path.
bal run http_client_mutual_ssl.bal
Hello, World!
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# As a prerequisite, start a sample service secured with OAuth2.
# (You may need to change the trusted certificate file path.)
# You may need to change the trusted certificate file path.
bal run http_client_oauth2_client_credentials_grant_type.bal
Hello, World!
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# As a prerequisite, start a sample service secured with OAuth2.
# (You may need to change the trusted certificate file path.)
# You may need to change the trusted certificate file path.
bal run http_client_oauth2_password_grant_type.bal
Hello, World!
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# As a prerequisite, start a sample service secured with OAuth2.
# (You may need to change the trusted certificate file path.)
# You may need to change the trusted certificate file path.
bal run http_client_oauth2_refresh_token_grant_type.bal
Hello, World!
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# As a prerequisite, start a sample service secured with OAuth2.
# (You may need to change the trusted certificate file path and private key file path.)
# You may need to change the trusted certificate file path and private key file path.
bal run http_client_self_signed_jwt_auth.bal
Hello, World!
2 changes: 1 addition & 1 deletion examples/http-client-ssl-tls/http_client_ssl_tls.out
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# As a prerequisite, start a sample service secured with SSL.
# (You may need to change the trusted certificate file path.)
# You may need to change the trusted certificate file path.
bal run http_client_ssl_tls.bal
Hello, World!
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ username="bob"
password="password2"
scopes=["scope2", "scope3"]' > Config.toml

# (You may need to change the certificate file path and private key file path.)
# You may need to change the certificate file path and private key file path.
bal run http_service_basic_auth_file_user_store.bal
[ballerina/http] started HTTPS/WSS listener 0.0.0.0:9090
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# (You may need to change the certificate file path and private key file path.)
# You may need to change the certificate file path and private key file path.
bal run http_service_basic_auth_ldap_user_store.bal
[ballerina/http] started HTTPS/WSS listener 0.0.0.0:9090
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# (You may need to change the certificate file path, private key file path and
# trusted certificate file path.)
# You may need to change the certificate file path, private key file path, and
# trusted certificate file path.
bal run http_service_jwt_auth.bal
[ballerina/http] started HTTPS/WSS listener 0.0.0.0:9090
4 changes: 2 additions & 2 deletions examples/http-service-mutual-ssl/http_service_mutual_ssl.out
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# (You may need to change the certificate file path, private key file path, and
# trusted certificate file path.)
# You may need to change the certificate file path, private key file path, and
# trusted certificate file path.
bal run http_service_mutual_ssl.bal
[ballerina/http] started HTTPS/WSS listener 0.0.0.0:9090
4 changes: 2 additions & 2 deletions examples/http-service-oauth2/http_service_oauth2.server.out
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# (You may need to change the certificate file path, private key file path and
# trusted certificate file path.)
# You may need to change the certificate file path, private key file path, and
# trusted certificate file path.
bal run http_service_oauth2.bal
[ballerina/http] started HTTPS/WSS listener 0.0.0.0:9090
2 changes: 1 addition & 1 deletion examples/http-service-ssl-tls/http_service_ssl_tls.out
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# (You may need to change the certificate file path and private key file path.)
# You may need to change the certificate file path and private key file path.
bal run http_service_ssl_tls.bal
[ballerina/http] started HTTPS/WSS listener 0.0.0.0:9090
4 changes: 2 additions & 2 deletions examples/security-crypto/security_crypto.out
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# (You may need to change the certificate file path, private key file path and
keystore/truststore file path.)
# You may need to change the certificate file path, private key file path, and
# trusted certificate file path.
bal run security_crypto.bal
Hex encoded hash with MD5: 0605402ee16d8e96511a58ff105bc24a
Base64 encoded hash with SHA1: /8fwbGIevBvv2Nl3gEL9DtWas+Q=
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# (You may need to change the certificate file path, trusted certificate file
# path and private key file path.)
# You may need to change the certificate file path, private key file path, and
# trusted certificate file path.
bal run security_jwt_issue_validate.bal
Issued JWT: eyJhbGciOiJSUzI1NiIsICJ0eXAiOiJKV1QiLCAia2lkIjoiTlRBeFptTXhORE15WkR
nM01UVTFaR00wTXpFek9ESmhaV0k0TkRObFpEVTFPR0ZrTmpGaU1RIn0.eyJpc3MiOi
Expand Down

0 comments on commit 7355b26

Please sign in to comment.