Skip to content

Commit f6d3bd6

Browse files
committed
specific implementation for macos and other 👀
1 parent 0e41cee commit f6d3bd6

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

ee/psso/PSSO/EnterpriseSSO.swift

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,12 @@ extension AuthenticationViewController: ASAuthorizationProviderExtensionAuthoriz
4747
request.doNotHandle()
4848
return
4949
}
50+
#if os(macOS)
51+
return getSignedResponseMac(challenge: challenge, request: request)
52+
#endif
53+
}
54+
55+
public func getSignedResponseMac(challenge: String, request: ASAuthorizationProviderExtensionAuthorizationRequest) {
5056
Task {
5157
do {
5258
let header = try await SysdBridge.shared.platformSignedEndpointHeader(

0 commit comments

Comments
 (0)