-
Notifications
You must be signed in to change notification settings - Fork 146
Requesting custom claims
Olga Dalton edited this page Sep 22, 2018
·
3 revisions
OpenID Connect defines the claims
Authorization Request parameter to enable requesting individual Claims and specifying parameters that apply to the requested Claims. See more details in OpenID Connect Core 1.0.
MSAL provides an interactive API to pass the claims
Authorization Request parameter.
This might be necessary in various situations. For example, claims challenges could be issued by the resource when the access token is used for accessing the resource.
In such a case, an interactive acquire token call is needed to pass the claims challenge to server. MSAL provides the following API which accepts claims challenge for class MSALPublicClientApplication
:
- (void)acquireTokenForScopes:(NSArray<NSString *> *)scopes
extraScopesToConsent:(NSArray<NSString *> *)extraScopesToConsent
account:(MSALAccount *)account
uiBehavior:(MSALUIBehavior)uiBehavior
extraQueryParameters:(NSDictionary <NSString *, NSString *> *)extraQueryParameters
claims:(NSString *)claims
authority:(NSString *)authority
correlationId:(NSUUID *)correlationId
completionBlock:(MSALCompletionBlock)completionBlock;
- Customizing Browsers and WebViews
- Logging
- Sovereign clouds
- B2C
- Auth Telemetry (coming soon)
- MSAL questions, bugs and issues (coming soon)
- Redirect URIs
- Requesting individual claims
- Keychain cache
- SSL issues
- iOS 13 and macOS 10.15 support
- Releases
- Roadmap (coming soon)