• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

microsoft / botbuilder-dotnet / 386046

08 Mar 2024 08:31PM UTC coverage: 78.216% (-0.2%) from 78.399%
386046

push

CI-PR build

web-flow
Support Sso for SharePoint bot ACEs (#6755)

* Support Sso for SharePoint bot ACEs

* Adding IStorage back in

* Adding support for QuickView SSO

26190 of 33484 relevant lines covered (78.22%)

0.78 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

20.0
/libraries/Microsoft.Bot.Schema/SharePoint/QuickViewResponse.cs
1
// Copyright (c) Microsoft Corporation. All rights reserved.
2
// Licensed under the MIT License.
3

4
using System;
5
using System.Collections.Generic;
6
using System.Runtime.Serialization;
7
using System.Text;
8
using AdaptiveCards;
9
using Microsoft.Bot.Schema.Teams;
10
using Newtonsoft.Json;
11
using Newtonsoft.Json.Converters;
12
using Newtonsoft.Json.Linq;
13

14
namespace Microsoft.Bot.Schema.SharePoint
15
{
16
    /// <summary>
17
    /// SharePoint GetQuickView response object.
18
    /// </summary>
19
    public class QuickViewResponse
20
    {
21
        /// <summary>
22
        /// Initializes a new instance of the <see cref="QuickViewResponse"/> class.
23
        /// </summary>
24
        public QuickViewResponse()
1✔
25
        {
26
            // Do nothing
27
        }
1✔
28

29
        /// <summary>
30
        /// Gets or Sets data for the quick view.
31
        /// </summary>
32
        /// <value>This value is the data of the quick view response.</value>
33
        [JsonProperty(PropertyName = "data")]
34
        public object Data { get; set; }
×
35

36
        /// <summary>
37
        /// Gets or Sets data for the quick view template of type <see cref="AdaptiveCard"/>.
38
        /// </summary>
39
        /// <value>This value is the template of the quick view response.</value>
40
        [JsonProperty(PropertyName = "template")]
41
        public AdaptiveCard Template { get; set; }
×
42

43
        /// <summary>
44
        /// Gets or Sets view Id of type <see cref="string"/>.
45
        /// </summary>
46
        /// <value>This value is the view Id of the quick view response.</value>
47
        [JsonProperty(PropertyName = "viewId")]
48
        public string ViewId { get; set; }
×
49

50
        /// <summary>
51
        /// Gets or Sets title of type <see cref="string"/>.
52
        /// </summary>
53
        /// <value>This value is the title of the quick view response.</value>
54
        [JsonProperty(PropertyName = "title")]
55
        public string Title { get; set; }
×
56

57
        /// <summary>
58
        /// Gets or Sets the external link parameters of type <see cref="ExternalLinkActionParameters"/>.
59
        /// </summary>
60
        /// <value>This value is the external link parameters of the quick view response.</value>
61
        [JsonProperty(PropertyName = "externalLink")]
62
        public ExternalLinkActionParameters ExternalLink { get; set; }
×
63

64
        /// <summary>
65
        /// Gets or Sets focus parameters of type <see cref="FocusParameters"/>.
66
        /// </summary>
67
        /// <value>This value is the focus parameters of the quick view response.</value>
68
        [JsonProperty(PropertyName = "focusParameters")]
69
        public FocusParameters FocusParameters { get; set; }
×
70

71
        /// <summary>
72
        /// Gets or Sets a value indicating whether the client to trigger a single sign on flow.
73
        /// </summary>
74
        /// <value>
75
        /// True if single sign on flow should be started.
76
        /// </value>
77
        [JsonProperty(PropertyName = "requiresSso")]
78
        public bool RequiresSso { get; set; }
×
79

80
        /// <summary>
81
        /// Gets or Sets a value which tells the client what view to load after SSO is complete.
82
        /// </summary>
83
        /// <value>
84
        /// ViewId to load from client after the SSO flow completes.
85
        /// </value>
86
        [JsonProperty(PropertyName = "postSsoViewId")]
87
        public string PostSsoViewId { get; set; }
×
88
    }
89
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc