Skip to main content
Tab

UploadControlSharePointSettings.TokenEndpoint Property

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

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v22.1.dll

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 Bootstrap Controls BootstrapUploadControl
.SharePointSettings.TokenEndpoint
ASP.NET MVC Extensions UploadControlBinderSettings
.SharePointSettings.TokenEndpoint
MVCxUploadControl
.SharePointSettings.TokenEndpoint
UploadControlSettings
.SharePointSettings.TokenEndpoint
ASP.NET Web Forms Controls ASPxHtmlEditorUploadControl
.SharePointSettings.TokenEndpoint
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>

Online Demo

See Also