Skip to content

Commit d0947ea

Browse files
authored
update initialiser, use MSALAuthority, instead of MSALCIAMAuthority (#2656)
1 parent 5a92294 commit d0947ea

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

MSAL/src/native_auth/public/configuration/MSALNativeAuthPublicClientApplicationConfig.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@ public final class MSALNativeAuthPublicClientApplicationConfig: MSALPublicClient
3434
/// Initialize a MSALNativeAuthPublicClientApplicationConfig.
3535
/// - Parameters:
3636
/// - clientId: The client ID of the application, this should come from the app developer portal.
37-
/// - authority: The target CIAM authority.
37+
/// - authority: The target authority.
3838
/// - challengeTypes: The set of challenge types that this application can support as an ``MSALNativeAuthChallengeTypes`` optionset
39-
public init(clientId: String, authority: MSALCIAMAuthority, challengeTypes: MSALNativeAuthChallengeTypes) {
39+
public init(clientId: String, authority: MSALAuthority, challengeTypes: MSALNativeAuthChallengeTypes) {
4040
self.challengeTypes = challengeTypes
4141
// calling the init without nestedAuthBrokerClientId and nestedAuthBrokerRedirectUri result in an error
4242
super.init(clientId: clientId, redirectUri: nil, authority: authority, nestedAuthBrokerClientId: nil, nestedAuthBrokerRedirectUri: nil)

0 commit comments

Comments
 (0)