MSALIndividualClaimRequestAdditionalInfo

Objective-C

@interface MSALIndividualClaimRequestAdditionalInfo : NSObject

Swift

class MSALIndividualClaimRequestAdditionalInfo : NSObject

Represents the additional information that can be sent to an authorization server for a request claim in the claim request parameter. See more info here: https://openid.net/specs/openid-connect-core-1_0.html#IndividualClaimsRequests

Example of Individual Claim Request Additional Info serialized to json:

{“essential”: true}

Configuring MSALIndividualClaimRequestAdditionalInfo

  • Indicates whether the Claim being requested is an Essential Claim. Should be either boolean or nil.

    Declaration

    Objective-C

    @property (nonatomic, nullable) NSNumber *essential;

    Swift

    var essential: NSNumber? { get set }
  • Requests that the Claim be returned with a particular value. Must be an instance of NSString, NSNumber, NSArray, NSDictionary, or NSNull. Otherwise exception will be thrown during json serialization.

    Declaration

    Objective-C

    @property (nonatomic, nullable) id value;

    Swift

    var value: Any? { get set }
  • Requests that the Claim be returned with one of a set of values, with the values appearing in order of preference. All values must be an instance of NSString, NSNumber, NSArray, NSDictionary, or NSNull. Otherwise exception will be thrown during json serialization.

    Declaration

    Objective-C

    @property (nonatomic, nullable) NSArray *values;

    Swift

    var values: [Any]? { get set }