/// <summary> /// Initializes a new <see cref="ArcGISOnlineAuthenticationOptions" /> /// </summary> public ArcGISOnlineAuthenticationOptions() : base("ArcGIS Online") { Caption = Constants.DefaultAuthenticationType; CallbackPath = new PathString("/signin-arcgis-online"); AuthenticationMode = AuthenticationMode.Passive; Scope = new List <string> { "code" }; BackchannelTimeout = TimeSpan.FromSeconds(60); Endpoints = new ArcGISOnlineAuthenticationEndpoints { AuthorizationEndpoint = AuthorizationEndPoint, TokenEndpoint = TokenEndpoint, UserInfoEndpoint = UserInfoEndpoint }; }
/// <summary> /// Initializes a new <see cref="ArcGISOnlineAuthenticationOptions" /> /// </summary> public ArcGISOnlineAuthenticationOptions() : base("ArcGIS Online") { Caption = Constants.DefaultAuthenticationType; CallbackPath = new PathString("/signin-arcgis-online"); AuthenticationMode = AuthenticationMode.Passive; Scope = new List<string> { "code" }; BackchannelTimeout = TimeSpan.FromSeconds(60); Endpoints = new ArcGISOnlineAuthenticationEndpoints { AuthorizationEndpoint = AuthorizationEndPoint, TokenEndpoint = TokenEndpoint, UserInfoEndpoint = UserInfoEndpoint }; }