Browse Source

Updated docs with verify field.

pull/12/head
Marcos Pereira 7 years ago
parent
commit
90ec0acc9f
  1. 3
      README.md
  2. 3
      docs/source/index.rst

3
README.md

@ -98,7 +98,8 @@ from keycloak import KeycloakAdmin
keycloak_admin = KeycloakAdmin(server_url="http://localhost:8080/auth/", keycloak_admin = KeycloakAdmin(server_url="http://localhost:8080/auth/",
username='example-admin', username='example-admin',
password='secret', password='secret',
realm_name="example_realm")
realm_name="example_realm",
verify=True)
# Add user # Add user
new_user = keycloak_admin.create_user({"email": "example@example.com", new_user = keycloak_admin.create_user({"email": "example@example.com",

3
docs/source/index.rst

@ -126,7 +126,8 @@ Main methods::
keycloak_admin = KeycloakAdmin(server_url="http://localhost:8080/auth/", keycloak_admin = KeycloakAdmin(server_url="http://localhost:8080/auth/",
username='example-admin', username='example-admin',
password='secret', password='secret',
realm_name="example_realm")
realm_name="example_realm",
verify=True)
# Add user # Add user
new_user = keycloak_admin.create_user({"email": "example@example.com", new_user = keycloak_admin.create_user({"email": "example@example.com",

Loading…
Cancel
Save