AWFApiPermissions
Objective-C
@interface AWFApiPermissions : NSObject
Swift
class AWFApiPermissions : NSObject
An AWFApiPermissions object contains the access permissions when interacting with the Aeris API.
-
Initializes and returns an
AWFApiPermissionsinstance using the specified access permissions data.Declaration
Objective-C
- (nonnull instancetype)initWithDictionary:(nonnull NSDictionary *)dictionary;Swift
init(dictionary: [AnyHashable : Any])Parameters
dictionaryThe access permissions dictionary to use
Return Value
A permissions object initialized with the specified permissions dictionary
-
Returns a Boolean value indicating whether or not the configured permissions allow access to the specified endpoint path.
Declaration
Objective-C
- (BOOL)canAccessEndpoint:(nonnull NSString *)endpoint;Swift
func canAccessEndpoint(_ endpoint: String) -> BoolParameters
endpointThe endpoint path to check access for
View on GitHub
AWFApiPermissions Class Reference