Cloud Storage Integrator - Online Help
Cloud Storage Integrator
Questions / Feedback?

AuthScheme Property

The authentication scheme to be used while authenticating with the server.

Object Oriented Interface

public function getAuthScheme();
public function setAuthScheme($value);

Procedural Interface

incloudstorage_sharepoint_get($res, 1 );
incloudstorage_sharepoint_set($res, 1, $value );

Default Value

7

Remarks

Use the AuthScheme property to specify how to authenticate to the server.

By default, AuthScheme is set to authSPOnline(7). If AuthScheme is set to authNtlm and User and Password are empty, the class will attempt to authenticate using the current user's credentials.

AuthScheme should be set to authNone (3) when no authentication is to be performed.

Form Based Authentication

If connecting to a remotely hosted site another common form of authentication is authFormBased (6). The class will automatically retrieve the required security cookies when a method is called. To use Forms-Based Authentication, specify User, Password, URL, and set this setting to True. Not other settings are required.

The cookies will be saved in FormBasedCookies, but in most cases you will not need to query this setting.

If the cookies in FormBasedCookies become invalid, they should be cleared before re-attempting authentication.

Share Point Online

When connecting to Share Point Online set the AuthScheme to authSPOnline (7). The class will automatically retrieve the required security cookies when a method is called. To use SharePoint Online specify User, Password, and URL. No other settings are required.

The cookies will be saved in SPOnlineSecurityCookies, but in most cases you will not need to query this setting.

If the cookies in SPOnlineSecurityCookies become invalid they should be cleared before re-attempting authentication.

If Single Sign On is used, refer to SPOnlineSSO for more details.

Data Type

Integer

 
 
Copyright (c) 2017 /n software inc. - All rights reserved.
Build 1.0.6240.0