obspy.clients.seishub.client.Client.test_auth

Client.test_auth()[source]

Test if authentication information is valid. Raises an Exception if status code of response is not 200 (OK) or 401 (Forbidden).

Return type:

bool

Returns:

True if OK, False if invalid.