Diffusion Apple API  6.4.10
Unified Client Library for iOS, tvOS and OS X / macOS
 All Classes Functions Variables Properties Pages
Class Methods | List of all members
PTDiffusionGlobalPermission Class Reference

Introduction

Permissions that protect globally scoped, access-controlled operations.

There is no related object, permission is granted globally.

See Also
PTDiffusionTopicPermission
Since
6.3
Inheritance diagram for PTDiffusionGlobalPermission:
PTDiffusionEnumeration

Class Methods

(instancetype) + authenticate
 
(instancetype) + viewSession
 
(instancetype) + modifySession
 
(instancetype) + registerHandler
 
(instancetype) + viewServer
 
(instancetype) + controlServer
 
(instancetype) + viewSecurity
 
(instancetype) + modifySecurity
 
(instancetype) + unknownGlobalPermission
 
(instancetype) + readTopicViews
 
(instancetype) + modifyTopicViews
 
- Class Methods inherited from PTDiffusionEnumeration
(instancetype) + NS_UNAVAILABLE
 
(NSSet< PTDiffusionEnumeration * > *) + elements
 

Additional Inherited Members

- Instance Methods inherited from PTDiffusionEnumeration
(instancetype) - NS_UNAVAILABLE
 
(BOOL) - isEqualToEnumeration:
 

Method Documentation

+ (instancetype) authenticate

Add an authentication handler.

Since
6.3
+ (instancetype) controlServer

Change the server's runtime state - for example, shut it down.

Since
6.3
+ (instancetype) modifySecurity

Change the security configuration.

Since
6.3
+ (instancetype) modifySession

Alter a client session. This covers a range of actions including:

  • subscribe session to topic
  • throttle session
  • enable conflation for session
  • close session
Since
6.3
+ (instancetype) modifyTopicViews

Modify topic views.

Since
6.3
+ (instancetype) readTopicViews

Read topic views.

Since
6.3
+ (instancetype) registerHandler

Required to register any server-side handler.

This restricts clients from consuming resources by registering long lived handlers (or example, addMessageHandler). Typically these would never be called due to lack of other permissions.

Since
6.3
+ (instancetype) unknownGlobalPermission

A permission that is unsupported by the session.

Since
6.3
+ (instancetype) viewSecurity

Read the security configuration.

Since
6.3
+ (instancetype) viewServer

View the server's runtime state - for example, read metrics.

Since
6.3
+ (instancetype) viewSession

List or listen to client sessions.

Since
6.3