All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.beaglesecurity.client.BeagleSecurityClientBuilder Maven / Gradle / Ivy

Go to download

The Beagle Security SDK for Java provides Java APIs for building software for penetration testing using Beagle Security platform.

The newest version!
/**
 * Copyright (c) Beagle Cyber Innovations Pvt. Ltd. All rights reserved.
 * Licensed under the MIT License. See LICENSE file in the project root for
 * license information.
 */

package com.beaglesecurity.client;

public final class BeagleSecurityClientBuilder {
	
	private BeagleSecurityClientBuilder() {
	}
	
	private String token;
	
	public static BeagleSecurityClientBuilder instance() {
		return new BeagleSecurityClientBuilder();
	}
	
	public BeagleSecurityClientBuilder withAPIToken(String token) {
		this.token = token;
		return this;
	}
	
	public BeagleSecurityClient build() {
		BeagleSecurityClient securityClient = new BeagleSecurityClientImpl(this.token);
		return securityClient;
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy