ProfileRequest
public enum ProfileRequest : URLRequestConvertible
Enumeration of network requests for Profile.
-
Change user password.
Declaration
Swift
case changePassword(oldPassword: String, newPassword: String, confirmPassword: String)
-
Connect user profile with different providers (social media sites e.g. facebook, google, instagram, twitter, etc.).
Declaration
Swift
case connectProfile(token: String, provider: String)
-
Disconnects a provider from the user profile.
Declaration
Swift
case disconnectProvider(provider: String)
-
Get account summary.
Declaration
Swift
case getAccountSummary
-
Get another member’s profile with member ID.
Declaration
Swift
case getMemberProfile(memberID: String)
-
Get user profile.
Declaration
Swift
case getProfile
-
Get Profile Identities with optional
Parameters
.Declaration
Swift
case getProfileIdentities(parameters: Parameters?)
-
Get Profile Metadata.
Declaration
Swift
case getProfileMetadata
-
Submit Referral Code.
Declaration
Swift
case submitReferralCode(code: String)
-
Track active user.
Declaration
Swift
case trackActiveUser
-
Update Profile with optional
Parameters
.Declaration
Swift
case updateProfile(parameters: Parameters?)
-
Update Avatar with
UIImage
.Declaration
Swift
case updateAvatar(image: UIImage)
-
Declaration
Swift
public var path: String { get }
-
Declaration
Swift
public var method: HTTPMethod { get }
-
Declaration
Swift
public var parameters: Parameters? { get }
-
Declaration
Swift
public var multipartAttachments: URLRequest.MultipartAttachments? { get }