Enumerations
The following enumerations are available globally.
-
List of supported symmetric key encryption algorithms.
Declaration
Swift
public enum SymmetricKeyEncryptionAlgorithm : String
-
List of possible errors thrown by
SudoProfilesClient
implementation.- sudoServiceConfigNotFound: Indicates the configuration related to Sudo Service is not found. This may indicate that Sudo Service is not deployed into your runtime instance or the config file that you are using is invalid..
- invalidInput: Indicates that the input to the API was invalid.
- notSignedIn: Indicates the API being called requires the client to sign in.
- badData: Indicates the bad data was found in cache or in backend response.
- graphQLError: Indicates that a GraphQL error was returned by the backend.
- fatalError: Indicates that a fatal error occurred. This could be due to coding error, out-of-memory
condition or other conditions that is beyond control of
SudoProfilesClient
implementation.
Declaration
Swift
public enum SudoProfilesClientError : Error
-
Options for controlling the behaviour of
listSudos
API.- cacheOnly: returns Sudos from the local cache only. The cache is only updated after listSudos is called with remoteOnly.
- remoteOnly: fetches Sudos from the backend, updates the local cache and returns the fetched Sudos.
- returnCachedElseFetch: returns Sudos from the local cache if cache is not empty otherwise fetch from the backend.
Declaration
Swift
public enum ListOption
-
Sudo change type.
- create: Sudo creation.
- update: Sudo update.
- delete: Sudo delete.
Declaration
Swift
public enum SudoChangeType
-
Connection state of the subscription.
- connected: Connected and receiving updates.
- disconnected: Disconnected and won’t receive any updates. When disconnected all subscribers will be unsubscribed so the consumer must re-subscribe.
Declaration
Swift
public enum SubscriptionConnectionState