actorNames
and actorIds
to createExport
by @robframpton in https://github.com/workos/workos-php/pull/146Full Changelog: https://github.com/workos/workos-php/compare/v3.2.0...v3.3.0
Full Changelog: https://github.com/workos/workos-php/compare/v3.1.1...v3.2.0
PHP 7.3.0 and above required
Updated syntax for PHP 8.2 compatibility re: https://wiki.php.net/rfc/deprecate_dollar_brace_string_interpolation
Added @property annotation to Profile and ProfileAndToken classes in order to have autocompletion from PHPStorm or for static analysis tools like PHPStan. This way, both understand the syntax
log_streams
Admin Portal intent (https://github.com/workos/workos-php/pull/131)Profile
returned in SSO::getProfileAndToken
will now return a profile array (https://workos.com/docs/reference/sso/profile) with values using camelCasing instead of snake_casing (#91) in line with PHP standards and the other workos-php functions.null
value on domain
parameter for getAuthorizationUrl
function to resolve https://github.com/workos/workos-php/issues/124Note: This release was mistakenly tagged v1.19.9. If you installed immediately you may see the version downgrade from v1.19.9 -> v1.19.0 on your next composer command.
AuditLogs
features: createEvent
, createExport
, and getExport
(#110)directory_id
and organization_id
to DirectoryGroup
and DirectoryUser
(#106)ChallengeFactor
and VerifyChallenge
endpoints (#105)AuthenticationChallenge
Resource into AuthenticationChallengeTotp
and AuthenticationChallengeSms
list_metadata
instead of ListMetadata
(#81)environment_id
from directory resource as it was no longer needed and sent within the API responsedomain
, provider
, and connection
parameters nullable in the getAuthorizationUrl
method for SSOWebhooks::constructEvent
that was returning an error when webhooks contained non UTF-8 charactersgetProfile()
functiongetProfileandToken()
returning 'raw' within the profile payloadSSO::getProfile
was renamed to SSO::getProfileAndToken
(#45)Profile
to ProfileAndToken
Portal
class to Organizations
(#46)Portal::listOrganizations
→ Organizations::listOrganizations
Portal::createOrganization
→ Organizations::createOrganization
Portal::updateOrganization
→ Organizations::updateOrganization
SSO::createConnection
was removed (#47)getProjectID
and setProjectID
methods were fully removed. The getClientID
and setClientID
methods were used instead (#44)Connection
s (#38):
oidcClientId
oidcClientSecret
oidcDiscoveryEndpoint
oidcRedirectUri
samlEntityId
samlIdpUrl
samlRelyingPartyPrivateKey
samlRelyingPartyPublicKey
samlX509Certs
oauthUid
oauthSecret
oauthRedirectUri