Authenticates user's publishing credential.

Authenticates user's publishing credential..

Method Request URI HTTP Version

POST

https://service-endpoint/services/{service-type}/authentication/?publishauthenticated&source={SOURCE}&protocol={PROTOCOL}&userAddress={USERADDRESS}

HTTP/1.1

Sample XML Request

  Copy Code
<PublishingCredential xmlns="http://schemas.microsoft.com/windowsazure">
	<Password>String content</Password>
	<UserName>String content</UserName>
</PublishingCredential>

Sample JSON Request

  Copy Code
{
	"Password": "String content",
	"UserName": "String content"
}

Sample XML Response

  Copy Code
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>

Sample JSON Response

  Copy Code
true

Check if user is authorized to publish to a site

Check if user is authorized to publish to a site

Method Request URI HTTP Version

GET

https://service-endpoint/services/{service-type}/authentication/?publishauthorized&userName={PUBLISHINGUSERNAME}&authorizedSite={SITENAME}&repository={ISREPOSITORY}&source={SOURCE}&protocol={PROTOCOL}&userAddress={USERADDRESS}

HTTP/1.1

Sample Request

The Request body is empty.

Sample XML Response

  Copy Code
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>

Sample JSON Response

  Copy Code
true