Skip to content

Commit

Permalink
Fix #10: Make shared instances public accessible
Browse files Browse the repository at this point in the history
  • Loading branch information
Mumthasir-vp authored and georgepadayatti committed May 11, 2024
1 parent 9f5530e commit d5a1c09
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import CryptoKit

public class CodeVerifierService: CodeVerifierProtocol {

static var shared = CodeVerifierService()
public static var shared = CodeVerifierService()
private init(){}

// Generates a code challenge string for PKCE (Proof Key for Code Exchange) based on the provided code verifier.
Expand Down
2 changes: 1 addition & 1 deletion Sources/eudiWalletOidcIos/Service/DidService.swift
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import CryptoKit
import Base58Swift

public class DidService {
static var shared = DidService()
public static var shared = DidService()
private init(){}

// MARK: - Creates a Decentralized Identifier (DID) asynchronously based on the provided JWK (JSON Web Key).
Expand Down
2 changes: 1 addition & 1 deletion Sources/eudiWalletOidcIos/Service/DiscoveryService.swift
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import CryptoKit

public class DiscoveryService: DiscoveryServiceProtocol {

static var shared = DiscoveryService()
public static var shared = DiscoveryService()
private init(){}

// MARK: - Retrieves the issuer configuration asynchronously based on the provided credential issuer well-known URI.
Expand Down
2 changes: 1 addition & 1 deletion Sources/eudiWalletOidcIos/Service/SDJWTService.swift
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import CryptoKit

public class SDJWTService {

static var shared = SDJWTService()
public static var shared = SDJWTService()
private init() {}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import PresentationExchangeSdkiOS

public class VerificationService: VerificationServiceProtocol {

static var shared = VerificationService()
public static var shared = VerificationService()
private init() {}

// MARK: - Sends a Verifiable Presentation (VP) token asynchronously.
Expand Down

0 comments on commit d5a1c09

Please sign in to comment.