Browse Source

Add template for full Keycloak REST API implementation

master
Johan Droz 8 years ago
parent
commit
4dd2d77396
  1. 88
      authentication_management.go
  2. 0
      client_attribute_certificate.go
  3. 1
      client_initial_access.go
  4. 1
      client_registration_policy.go
  5. 1
      client_role_mappings.go
  6. 1
      client_templates.go
  7. 1
      component.go
  8. 1
      groups.go
  9. 1
      identity_providers.go
  10. 1
      key.go
  11. 1
      realms_admin.go
  12. 1
      role_mapper.go
  13. 1
      roles.go
  14. 1
      root.go
  15. 1
      scope_mappings.go
  16. 1
      user_storage_provider.go
  17. 0
      users.go

88
authentication_management.go

@ -0,0 +1,88 @@
package keycloak
// Get authenticator providers Returns a list of authenticator providers.
// GET /{realm}/authentication/authenticator-providers
// Get client authenticator providers Returns a list of client authenticator providers.
// GET /{realm}/authentication/client-authenticator-providers
// Get authenticator provider’s configuration description
// GET /{realm}/authentication/config-description/{providerId}
// Get authenticator configuration
// GET /{realm}/authentication/config/{id}
// Update authenticator configuration
// PUT /{realm}/authentication/config/{id}
// Delete authenticator configuration
// DELETE /{realm}/authentication/config/{id}
// Add new authentication execution
// POST /{realm}/authentication/executions
// Delete execution
// DELETE /{realm}/authentication/executions/{executionId}
// Update execution with new configuration
// POST /{realm}/authentication/executions/{executionId}/config
// Lower execution’s priority
// POST /{realm}/authentication/executions/{executionId}/lower-priority
// Raise execution’s priority
// POST /{realm}/authentication/executions/{executionId}/raise-priority
// Create a new authentication flow
// POST /{realm}/authentication/flows
// Get authentication flows Returns a list of authentication flows.
// GET /{realm}/authentication/flows
// Copy existing authentication flow under a new name The new name is given as 'newName' attribute of the passed JSON object
// POST /{realm}/authentication/flows/{flowAlias}/copy
// Get authentication executions for a flow
// GET /{realm}/authentication/flows/{flowAlias}/executions
// Update authentication executions of a flow
// PUT /{realm}/authentication/flows/{flowAlias}/executions
// Add new authentication execution to a flow
// POST /{realm}/authentication/flows/{flowAlias}/executions/execution
// Add new flow with new execution to existing flow
// POST /{realm}/authentication/flows/{flowAlias}/executions/flow
// Get authentication flow for id
// GET /{realm}/authentication/flows/{id}
// Delete an authentication flow
// DELETE /{realm}/authentication/flows/{id}
// Get form action providers Returns a list of form action providers.
// GET /{realm}/authentication/form-action-providers
// Get form providers Returns a list of form providers.
// GET /{realm}/authentication/form-providers
// Get configuration descriptions for all clients
// GET /{realm}/authentication/per-client-config-description
// Register a new required actions
// POST /{realm}/authentication/register-required-action
// Get required actions Returns a list of required actions.
// GET /{realm}/authentication/required-actions
// Get required action for alias
// GET /{realm}/authentication/required-actions/{alias}
// Update required action
// PUT /{realm}/authentication/required-actions/{alias}
// Delete required action
// DELETE /{realm}/authentication/required-actions/{alias}
// Get unregistered required actions Returns a list of unregistered required actions.
// GET /{realm}/authentication/unregistered-required-actions

0
user_test.go → client_attribute_certificate.go

1
client_initial_access.go

@ -0,0 +1 @@
package keycloak

1
client_registration_policy.go

@ -0,0 +1 @@
package keycloak

1
client_role_mappings.go

@ -0,0 +1 @@
package keycloak

1
client_templates.go

@ -0,0 +1 @@
package keycloak

1
component.go

@ -0,0 +1 @@
package keycloak

1
groups.go

@ -0,0 +1 @@
package keycloak

1
identity_providers.go

@ -0,0 +1 @@
package keycloak

1
key.go

@ -0,0 +1 @@
package keycloak

1
realms_admin.go

@ -0,0 +1 @@
package keycloak

1
role_mapper.go

@ -0,0 +1 @@
package keycloak

1
roles.go

@ -0,0 +1 @@
package keycloak

1
root.go

@ -0,0 +1 @@
package keycloak

1
scope_mappings.go

@ -0,0 +1 @@
package keycloak

1
user_storage_provider.go

@ -0,0 +1 @@
package keycloak

0
user.go → users.go

Loading…
Cancel
Save