The result of attempting to authenticate a TURN request. More...
Instance Methods | |
(NSMutableData *) | - longTermKeyBytes |
Gets the long-term key bytes, calculated as the MD5 hash of the following UTF8-encoded input: "username:realm:password" (for convenience, use STUN.CreateLongTermKey to calculate). More... | |
(NSString *) | - password |
Gets the user's password in plain text. More... | |
Class Methods | |
(FMLiveSwitchTurnAuthResult *) | + fromLongTermKeyBytes: |
Initializes a new instance of the FMLiveSwitchTurnAuthResult class using a long-term key. More... | |
(FMLiveSwitchTurnAuthResult *) | + fromPassword: |
Initializes a new instance of the FMLiveSwitchTurnAuthResult class using a plaintext password. More... | |
The result of attempting to authenticate a TURN request.
+ (FMLiveSwitchTurnAuthResult*) fromLongTermKeyBytes: | (NSMutableData *) | longTermKeyBytes |
Initializes a new instance of the FMLiveSwitchTurnAuthResult class using a long-term key.
longTermKeyBytes | The long-term key bytes, calculated as the MD5 hash of the following UTF8-encoded input: "username:realm:password". |
+ (FMLiveSwitchTurnAuthResult*) fromPassword: | (NSString *) | password |
Initializes a new instance of the FMLiveSwitchTurnAuthResult class using a plaintext password.
password | The user's password in plain text. |
- (NSMutableData*) longTermKeyBytes |
Gets the long-term key bytes, calculated as the MD5 hash of the following UTF8-encoded input: "username:realm:password" (for convenience, use STUN.CreateLongTermKey to calculate).
- (NSString*) password |
Gets the user's password in plain text.