Full Changelog: https://github.com/workos/workos-go/compare/v2.4.2...v3.0.0
AuthenticateUserWithToken
to AuthenticateUserWithCode
https://github.com/workos/workos-go/pull/242MagicAuthChallenge
from public interface https://github.com/workos/workos-go/pull/244Users.DeleteUser()
method https://github.com/workos/workos-go/pull/247Users.UpdateUserPassword()
path https://github.com/workos/workos-go/pull/250AuthenticateUserWith_
to AuthenticateWith_
https://github.com/workos/workos-go/pull/252AuthenticateWithMagicAuth
and SendMagicAuthCode
https://github.com/workos/workos-go/pull/253users.EnrollAuthFactor()
method https://github.com/workos/workos-go/pull/254users.ListAuthFactor()
method https://github.com/workos/workos-go/pull/255users.AuthenticateWithTOTP()
method https://github.com/workos/workos-go/pull/256email
rather than email_address
https://github.com/workos/workos-go/pull/258SendMagicAuthCode
response type https://github.com/workos/workos-go/pull/259users.ListAuthFactor()
return type https://github.com/workos/workos-go/pull/260AuthenticateUserWithPasswordOpts
in https://github.com/workos/workos-go/pull/240ClientID
to AuthenticateUserWithPasswordOpts
in https://github.com/workos/workos-go/pull/238rangeStart
and rangeEnd
parameters to range_start
and range_end
(https://github.com/workos/workos-go/pull/210)Events
API betaUpdates module paths to v2
ChallengeOpts
→ ChallengeFactorOpts
VerifyChallengeOpts.AuthenticationChallengeID
→ VerifyChallengeOpts.ChallengeID
Full Changelog: https://github.com/workos/workos-go/compare/v2.0.0...v2.0.1
log_streams
Admin Portal intent (https://github.com/workos/workos-go/pull/193)GetProfileOptions
→ GetProfileOpts
GetProfileAndTokenOptions
→ GetProfileAndTokenOpts
GetAuthorizationURLOptions
→ GetAuthorizationURLOpts
passwordless.SendSessionOpts.ID
→ passwordless.SendSessionOpts.SessionID
mfa.Client
methods now utilize provided ctx.log.Panic
in favour of returning errors.mfa.Client
methods now utilize the client's HTTPClient.http.Method*
constants instead of strings.Client.VerifyFactor
call it's receiver, not DefaultClient
.EnrollResponse
updated to Factor
ChallengeResponse
updated to Challenge
GetEnrollOpts
updated to EnrollFactorOpts
VerifyOpts
updated to VerifyChallengeOpts
AuthenticationFactor
fields to SMS
and TOTP
FactorType
with SMS
and TOTP
enums & updated Factor
and EnrollFactorOpts
accordinglyTOTPDetails
and SMSDetails
structsVerifyResponse
to be named `VerifyChallengeResponseVerifyChallenge
and coalesce errors into Error (https://github.com/workos/workos-go/pull/187)GetLoginHandler
to sso.Client
(https://github.com/workos/workos-go/pull/180)CreatedAt
and UpdatedAt
to User
in https://github.com/workos/workos-go/pull/175SuccessURL
to GenerateLinkOpts
by in https://github.com/workos/workos-go/pull/177CreateOrganization
Method (#166 )CreateEvent
, CreateExport
, and GetExport
(https://github.com/workos/workos-go/pull/164)expires_at
non-nullableorganization_id
filter to list directories method (#142)