Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion examples/deactivate_account.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package examples
import (
"fmt"

"github.com/authorizerdev/authorizer-go"
"github.com/authorizerdev/authorizer-go/v2"
)

// DeactivateAccountExample demonstrates how to use DeactivateAccount function of authorizer sdk
Expand Down
2 changes: 1 addition & 1 deletion examples/forgot_password.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package examples
import (
"fmt"

"github.com/authorizerdev/authorizer-go"
"github.com/authorizerdev/authorizer-go/v2"
)

// ForgotPasswordInputExample demonstrates how to use ForgotPassword function of authorizer skd
Expand Down
2 changes: 1 addition & 1 deletion examples/get_meta_data.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package examples
import (
"fmt"

"github.com/authorizerdev/authorizer-go"
"github.com/authorizerdev/authorizer-go/v2"
)

// GetMetaDataExample demonstrates how to use GetMetaData function of authorizer sdk
Expand Down
2 changes: 1 addition & 1 deletion examples/get_profile.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package examples
import (
"fmt"

"github.com/authorizerdev/authorizer-go"
"github.com/authorizerdev/authorizer-go/v2"
)

// GetProfileExample demonstrates how to use GetProfile function of authorizer sdk
Expand Down
2 changes: 1 addition & 1 deletion examples/get_session.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package examples
import (
"fmt"

"github.com/authorizerdev/authorizer-go"
"github.com/authorizerdev/authorizer-go/v2"
)

// GetSessionExample demonstrates how to use GetSession function of authorizer sdk
Expand Down
2 changes: 1 addition & 1 deletion examples/login.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package examples
import (
"fmt"

"github.com/authorizerdev/authorizer-go"
"github.com/authorizerdev/authorizer-go/v2"
)

// LoginExample demonstrates how to use Login function of authorizer sdk
Expand Down
2 changes: 1 addition & 1 deletion examples/logout.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package examples
import (
"fmt"

"github.com/authorizerdev/authorizer-go"
"github.com/authorizerdev/authorizer-go/v2"
)

// LogoutExample demonstrates how to use Logout function of authorizer sdk
Expand Down
2 changes: 1 addition & 1 deletion examples/magic_link_login.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package examples
import (
"fmt"

"github.com/authorizerdev/authorizer-go"
"github.com/authorizerdev/authorizer-go/v2"
)

// MagicLinkLoginExample demonstrates how to use MagicLinkLogin function of authorizer sdk
Expand Down
2 changes: 1 addition & 1 deletion examples/manual/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (
"os"
"time"

"github.com/authorizerdev/authorizer-go"
"github.com/authorizerdev/authorizer-go/v2"
authorizerv1 "github.com/authorizerdev/authorizer-proto-go/authorizer/v1"
)

Expand Down
2 changes: 1 addition & 1 deletion examples/resend_otp.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package examples
import (
"fmt"

"github.com/authorizerdev/authorizer-go"
"github.com/authorizerdev/authorizer-go/v2"
)

// ResendOTPExample demonstrates how to use ResendOTP function of authorizer sdk
Expand Down
2 changes: 1 addition & 1 deletion examples/resend_verify_email.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package examples
import (
"fmt"

"github.com/authorizerdev/authorizer-go"
"github.com/authorizerdev/authorizer-go/v2"
)

// ResendVerifyEmailExample demonstrates how to use ResendVerifyEmail function of authorizer sdk
Expand Down
2 changes: 1 addition & 1 deletion examples/reset_password.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package examples
import (
"fmt"

"github.com/authorizerdev/authorizer-go"
"github.com/authorizerdev/authorizer-go/v2"
)

// ResetPasswordExample demonstrates how to use ResetPassword function of authorizer sdk
Expand Down
2 changes: 1 addition & 1 deletion examples/revoke_token.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package examples
import (
"fmt"

"github.com/authorizerdev/authorizer-go"
"github.com/authorizerdev/authorizer-go/v2"
)

// RevokeTokenExample demonstrates how to use RevokeToken function of authorizer sdk
Expand Down
2 changes: 1 addition & 1 deletion examples/signup.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package examples
import (
"fmt"

"github.com/authorizerdev/authorizer-go"
"github.com/authorizerdev/authorizer-go/v2"
)

// SignUpExample demonstrates how to use SignUp function of authorizer sdk
Expand Down
2 changes: 1 addition & 1 deletion examples/update_profile.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package examples
import (
"fmt"

"github.com/authorizerdev/authorizer-go"
"github.com/authorizerdev/authorizer-go/v2"
)

// UpdateProfileExample demonstrates how to use UpdateProfile function of authorizer sdk
Expand Down
2 changes: 1 addition & 1 deletion examples/validate_jwt_token.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package examples
import (
"fmt"

"github.com/authorizerdev/authorizer-go"
"github.com/authorizerdev/authorizer-go/v2"
)

// ValidateJWTTokenExample demonstrates how to use ValidateJWTToken function of authorizer sdk
Expand Down
2 changes: 1 addition & 1 deletion examples/validate_session.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package examples
import (
"fmt"

"github.com/authorizerdev/authorizer-go"
"github.com/authorizerdev/authorizer-go/v2"
)

// ValidateSessionExample demonstrates how to use ValidateSession function of authorizer sdk
Expand Down
2 changes: 1 addition & 1 deletion examples/verify_email.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package examples
import (
"fmt"

"github.com/authorizerdev/authorizer-go"
"github.com/authorizerdev/authorizer-go/v2"
)

// VerifyEmailExample demonstrates how to use VerifyEmail function of authorizer sdk
Expand Down
2 changes: 1 addition & 1 deletion examples/verify_otp.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package examples
import (
"fmt"

"github.com/authorizerdev/authorizer-go"
"github.com/authorizerdev/authorizer-go/v2"
)

// VerifyOTPExample demonstrates how to use VerifyOTP function of authorizer sdk
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/authorizerdev/authorizer-go
module github.com/authorizerdev/authorizer-go/v2

go 1.25.5

Expand Down
2 changes: 1 addition & 1 deletion test/admin_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"strings"
"testing"

"github.com/authorizerdev/authorizer-go"
"github.com/authorizerdev/authorizer-go/v2"
authorizerv1 "github.com/authorizerdev/authorizer-proto-go/authorizer/v1"
)

Expand Down
2 changes: 1 addition & 1 deletion test/authorizer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"strings"
"testing"

"github.com/authorizerdev/authorizer-go"
"github.com/authorizerdev/authorizer-go/v2"
)

// Integration-test target. Overridable via env so the same suite runs against a
Expand Down
2 changes: 1 addition & 1 deletion test/get_token_unit_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"strings"
"testing"

"github.com/authorizerdev/authorizer-go"
"github.com/authorizerdev/authorizer-go/v2"
authorizerv1 "github.com/authorizerdev/authorizer-proto-go/authorizer/v1"
)

Expand Down
2 changes: 1 addition & 1 deletion test/main.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package main

import "github.com/authorizerdev/authorizer-go/examples"
import "github.com/authorizerdev/authorizer-go/v2/examples"

func main() {
// examples.LoginExample()
Expand Down
2 changes: 1 addition & 1 deletion test/protocol_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"strings"
"testing"

"github.com/authorizerdev/authorizer-go"
"github.com/authorizerdev/authorizer-go/v2"
)

// protocols is the set of wire transports the public client supports. Each
Expand Down
Loading