FMLiveSwitchTurnAuthArgs Class Reference

Arguments for the FMLiveSwitchTurnServer's authentication callback. More...

Instance Methods

(instancetype) - initWithUsername:realm:operation:
 Initializes a new instance of the FMLiveSwitchTurnAuthArgs class. More...
 
(FMLiveSwitchTurnAuthOperation) - operation
 Gets the operation. More...
 
(NSString *) - realm
 Gets the realm from the request. More...
 
(NSString *) - username
 Gets the username from the request. More...
 

Class Methods

(FMLiveSwitchTurnAuthArgs *) + turnAuthArgsWithUsername:realm:operation:
 Initializes a new instance of the FMLiveSwitchTurnAuthArgs class. More...
 

Detailed Description

Arguments for the FMLiveSwitchTurnServer's authentication callback.

Method Documentation

◆ initWithUsername:realm:operation:

- (instancetype) initWithUsername: (NSString *)  username
realm: (NSString *)  realm
operation: (FMLiveSwitchTurnAuthOperation)  operation 

Initializes a new instance of the FMLiveSwitchTurnAuthArgs class.

Parameters
usernameThe username from the request.
realmThe realm from the request.
operationThe operation.

◆ operation

- (FMLiveSwitchTurnAuthOperation) operation

Gets the operation.

◆ realm

- (NSString*) realm

Gets the realm from the request.

◆ turnAuthArgsWithUsername:realm:operation:

+ (FMLiveSwitchTurnAuthArgs*) turnAuthArgsWithUsername: (NSString *)  username
realm: (NSString *)  realm
operation: (FMLiveSwitchTurnAuthOperation)  operation 

Initializes a new instance of the FMLiveSwitchTurnAuthArgs class.

Parameters
usernameThe username from the request.
realmThe realm from the request.
operationThe operation.

◆ username

- (NSString*) username

Gets the username from the request.