Browse Source

correction on API paths

master
bsoniam 6 years ago
parent
commit
1a31485551
  1. 2
      account.go

2
account.go

@ -10,7 +10,7 @@ const (
accountPath = "/auth/realms/:realm/account" accountPath = "/auth/realms/:realm/account"
accountExtensionAPIPath = "/auth/realms/master/api/account/realms/:realm" accountExtensionAPIPath = "/auth/realms/master/api/account/realms/:realm"
accountPasswordPath = accountExtensionAPIPath + "/credentials/password" accountPasswordPath = accountExtensionAPIPath + "/credentials/password"
accountCredentialsPath = accountPath + "/credentials" accountCredentialsPath = accountExtensionAPIPath + "/credentials"
accountCredentialsRegistratorsPath = accountCredentialsPath + "/registrators" accountCredentialsRegistratorsPath = accountCredentialsPath + "/registrators"
accountCredentialIDPath = accountCredentialsPath + "/:credentialID" accountCredentialIDPath = accountCredentialsPath + "/:credentialID"
accountCredentialLabelPath = accountCredentialIDPath + "/label" accountCredentialLabelPath = accountCredentialIDPath + "/label"

Loading…
Cancel
Save