github descope/go-sdk v1.6.4

26 days ago

Breaking changes

  • Total count of users search: We've enhanced the SearchAll Users function to also return the total number of records found. Example can be found in the SDK's README.
    Please notice that this change breaks compilation, since it now returns another parameter in the response.

Enhancements

  • Custom audit events: We've added the function CreateEvent to our Audit object, that allows you to generate your own custom audit events. You can also create your custom audit event to provide different data than that provided by Descope.
  • Enhanced audit record: Each audit log will now include the performer's User ID (Actor ID) as well as the the severity of the event (Type).
  • Logout user via token: A new function named LogoutWithToken has been added, to allow logging a user out using a refresh token.
  • PHPass hashes import support: We now support importing users with passwords that have been hashed using PHPass.
  • Claim validation using current tenant: If the dct ('Descope Current Tenant') claim is configured, authorization related functions for fetching and validation such as GetMatchedTenantPermissions will take that tenant into consideration.

Don't miss a new go-sdk release

NewReleases is sending notifications on new releases.