RESTSecurityInvoker Class |
Namespace: CMS.WebServices
public class RESTSecurityInvoker : Attribute, IOperationBehavior, IOperationInvoker
The RESTSecurityInvoker type exposes the following members.
Name | Description | |
---|---|---|
![]() | RESTSecurityInvoker |
Name | Description | |
---|---|---|
![]() ![]() | BASIC_AUTHENTICATION_TYPE |
Basic authentication
|
![]() ![]() | HASH_AUTHENTICATED_USERNAME |
Constant to identify the hash authentication requirement
|
Name | Description | |
---|---|---|
![]() | DocumentAccessReadOnly |
Indicates whether the access to the documents is read-only. If true, only GET requests are allowed.
|
![]() | IsSynchronous |
Always true - we need synchronous behavior for authentication.
|
![]() | IsTranslation |
Indicates whether the query is translation query.
|
![]() | ObjectAccessReadOnly |
Indicates whether the access to the objects is read-only. If true, only GET requests are allowed.
|
![]() | RESTServiceEnabled |
Indicates whether the REST service is enabled (in settings).
|
![]() | ServiceTypeEnabled |
Gets the type of the service which is enabled (0 = Everything, 1 = Only objects, 2 = Only documents).
|
Name | Description | |
---|---|---|
![]() | AddBindingParameters |
Not needed, remains empty, does nothing.
|
![]() | AllocateInputs |
Calls AllocateInputs on the invoker.
|
![]() | ApplyClientBehavior |
Not needed, remains empty, does nothing.
|
![]() | ApplyDispatchBehavior |
Initializes the invoker.
|
![]() | AuthenticateUser |
Authenticates the user according to authentication type setting.
|
![]() ![]() | AuthenticateUserBasic |
Authenticates the user using basic authentication.
|
![]() ![]() | CheckHash |
Checks hash parameter. Returns true if the parameter matches the requested URL. For request different from GET returns always false.
|
![]() ![]() | GetUserName |
Returns username of authenticated user.
|
![]() ![]() | HandleRESTAuthentication |
Handles necessary actions to provide proper REST authentication response
|
![]() | Invoke |
Invokes the operation only when authentication went well.
|
![]() | InvokeBegin |
Not implemented method.
|
![]() | InvokeEnd |
Not implemented method.
|
![]() ![]() | IsHashAuthenticated |
Returns true if the request is GET and the hash parameter is present and matches the requested URL.
|
![]() | Validate |
Not needed, remains empty, does nothing.
|