CBLBasicAuthenticator

@interface CBLBasicAuthenticator : CBLAuthenticator

The CBLBasicAuthenticator class is an authenticator that will authenticate using HTTP Basic auth with the given username and password. This should only be used over an SSL/TLS connection, as otherwise it’s very easy for anyone sniffing network traffic to read the password.

  • The username set to the CBLBasicAuthenticator.

    Declaration

    Objective-C

    @property (nonatomic, copy, readonly) NSString *_Nonnull username;
  • The password set to the CBLBasicAuthenticator.

    Declaration

    Objective-C

    @property (nonatomic, copy, readonly) NSString *_Nonnull password;
  • Initializes the CBLBasicAuthenticator with the given username and password.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithUsername:(nonnull NSString *)username
                                    password:(nonnull NSString *)password;
  • Not available

    Declaration

    Objective-C

    - (nonnull instancetype)init;