AuthenticateParams

@objcMembers
@objc(SBCAuthenticateParams)
public class AuthenticateParams : NSObject

Configuration for authentication of SendBird user.

Since

1.0.0
  • User Id of the user.

    Since

    1.0.0

    Declaration

    Swift

    public var userId: String
  • Access Token used for extra layer of security.

    Since

    1.0.0

    Declaration

    Swift

    public var accessToken: String?
  • Since

    1.0.0

    • Tag: init(userId,accessToken)

    Declaration

    Swift

    public init(userId: String, accessToken: String?)

    Parameters

    userId

    User Id of the user.

    accessToken

    Access Token used for extra layer of security.

  • Since

    1.2.0

    Declaration

    Swift

    public convenience init(userId: String)

    Parameters

    userId

    User Id of the user.