BasicAuthentication.getType

returns int