/// <summary> /// Is Valid OIDC Session Response. /// </summary> public static void Validate(this SessionResponse response) { if (response == null) { new ArgumentNullException(nameof(response)); } response.SessionState.ValidateMaxLength(IdentityConstants.MessageLength.SessionStatedMax, nameof(response.SessionState), response.GetTypeName()); }