Skip to main content
All docs
V25.1
  • Tab

    UploadControlSharePointSettings.TokenEndpoint Property

    Specifies the URL that the application uses to get the token.

    Namespace: DevExpress.Web

    Assembly: DevExpress.Web.v25.1.dll

    NuGet Package: DevExpress.Web

    Declaration

    [DefaultValue("")]
    public string TokenEndpoint { get; set; }

    Property Value

    Type Default Description
    String String.Empty

    A string value that specifies the URL.

    Property Paths

    You can access this nested property as listed below:

    Library Object Type Path to TokenEndpoint
    ASP.NET MVC Extensions UploadControlBinderSettings
    .SharePointSettings .TokenEndpoint
    UploadControlSettings
    .SharePointSettings .TokenEndpoint
    ASP.NET Web Forms Controls ASPxUploadControl
    .SharePointSettings .TokenEndpoint

    Remarks

    <dx:ASPxUploadControl ID="UploadControl" >
        <SharePointSettings 
            AccountName="UploadOneDriveAccount" 
            TokenEndpoint="https://login.microsoftonline.com/46ec2686-1c80-4e0a-81de-57aec8e4672f/oauth2/token" 
            RedirectUri="http://localhost"
            SiteName="ASPNETDemo" 
            SiteHostName="aspnetteam.sharepoint.com" 
            UploadFolder="UploadedFiles" />
        //...
    </dx:ASPxUploadControl>
    
    See Also