Skip to content

Commit

Permalink
Fix refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
Hopsaheysa committed Feb 3, 2025
1 parent 1346cce commit 2160747
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions WultraMobileTokenSDK/WultraMobileToken.swift
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public class WultraMobileToken {
public lazy var inbox: WMTInbox = createInbox()

/// Oidc service - receive the config and helpt with OIDC activation preparation
public lazy var oidc: WMTOidcService = createOidc()
public lazy var oidc: WMTOidc = createOidc()

/// PowerAuth Instance
private let powerAuth: PowerAuthSDK
Expand Down Expand Up @@ -139,9 +139,9 @@ public class WultraMobileToken {
}

/// Defines if the `WMTOidc` is created from provided WPNConfig or from default values
private func createOidc() -> WMTOidcService {
private func createOidc() -> WMTOidc {
D.debug("Creating OidcService in WultraMobileToken")
return WMTOidcService(
return WMTOidc(
networking: WPNNetworkingService(
powerAuth: powerAuth,
config: WPNConfig(baseUrl: baseURL),
Expand Down
2 changes: 1 addition & 1 deletion WultraMobileTokenSDKTests/OidcTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ final class OidcTests: XCTestCase {
case .success(let config):
XCTAssertNotNil(config)

let authData = oidc.prepareOidcAuthorizationData(config: config, callbackScheme: "mtoken")
let authData = oidc.prepareOidcAuthorizationData(config: config)
switch authData {
case .success(let data):

Expand Down

0 comments on commit 2160747

Please sign in to comment.