Skip to content

Commit

Permalink
Better urls for samples
Browse files Browse the repository at this point in the history
  • Loading branch information
kober32 committed Nov 19, 2024
1 parent df4e0b5 commit c11b972
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/Using-Inbox-Service.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import WultraMobileTokenSDK
import WultraPowerAuthNetworking

let networkingConfig = WPNConfig(
baseUrl: URL(string: "https://myservice.com/mtoken/inbox/api/")!,
baseUrl: URL(string: "https://powerauth.myservice.com/enrollment-server")!,
sslValidation: .default
)
// powerAuth is instance of PowerAuthSDK
Expand Down
4 changes: 2 additions & 2 deletions docs/Using-Operations-Service.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ import WultraMobileTokenSDK
import WultraPowerAuthNetworking

let networkingConfig = WPNConfig(
baseUrl: URL(string: "https://myservice.com/mtoken/operations/api/")!,
baseUrl: URL(string: "https://powerauth.myservice.com/enrollment-server")!,
sslValidation: .default
)
// powerAuth is instance of PowerAuthSDK
Expand Down Expand Up @@ -131,7 +131,7 @@ class MyOperationsManager: WMTOperationsDelegate {

init(powerAuth: PowerAuthSDK) {
let networkingConfig = WPNConfig(
baseUrl: URL(string: "https://myservice.com/mtoken/operations/api/")!,
baseUrl: URL(string: "https://powerauth.myservice.com/enrollment-server")!,
sslValidation: .default
)
self.ops = powerAuth.createWMTOperations(networkingConfig: networkingConfig)
Expand Down
2 changes: 1 addition & 1 deletion docs/Using-Push-Service.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import WultraMobileTokenSDK
import WultraPowerAuthNetworking

let networkingConfig = WPNConfig(
baseUrl: URL(string: "https://myservice.com/mtoken/push/api/")!,
baseUrl: URL(string: "https://powerauth.myservice.com/enrollment-server")!,
sslValidation: .default
)
// powerAuth is instance of PowerAuthSDK
Expand Down

0 comments on commit c11b972

Please sign in to comment.