internal SessionSpecification(int?clientSessionTokenTtl, int?resourcesTtl, string userTrackingId, NotificationConfig notifications, List <BaseRequestedCheck> requestedChecks, List <BaseRequestedTask> requestedTasks, SdkConfig sdkConfig, List <RequiredDocument> requiredDocuments, bool?blockBiometricConsent, DateTimeOffset?sessionDeadline, object identityProfileRequirements, object subject) { ClientSessionTokenTtl = clientSessionTokenTtl; ResourcesTtl = resourcesTtl; UserTrackingId = userTrackingId; Notifications = notifications; RequestedChecks = requestedChecks; RequestedTasks = requestedTasks; SdkConfig = sdkConfig; RequiredDocuments = requiredDocuments; BlockBiometricConsent = blockBiometricConsent; SessionDeadline = sessionDeadline; IdentityProfileRequirements = identityProfileRequirements; Subject = subject; }
/// <summary> /// Sets the <see cref="NotificationConfig"/> /// </summary> /// <param name="notifications">The notification configuration</param> /// <returns>the builder</returns> public SessionSpecificationBuilder WithNotifications(NotificationConfig notifications) { _notifications = notifications; return(this); }