MSALADFSAuthority
Objective-C
@interface MSALADFSAuthority : MSALAuthority
Swift
class MSALADFSAuthority : MSALAuthority
An ADFS authority indicating an endpoint that MSAL can use to obtain tokens when talking to ADFS directly. For example: https://somesite.contoso.com/adfs
Note
Modern authentication with Active Directory Federation Services as identity provider (ADFS) is not supported by MSAL. ADFS is supported through federation only. Initialization of MSALADFSAuthority will always fail.-
Initializes MSALADFSAuthority with NSURL.
Declaration
Objective-C
- (nullable instancetype)initWithURL:(nonnull NSURL *)url error:(NSError *_Nullable *_Nullable)error;
Swift
init(url: URL) throws
Parameters
url
Authority indicating an ADFS instance that MSAL can use to obtain tokens.
error
The error that occurred creating the authority object, if any, if you’re not interested in the specific error pass in nil.