com.backblaze.b2.client.credentialsSources.B2CredentialsImpl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of b2-sdk-core Show documentation
Show all versions of b2-sdk-core Show documentation
The core logic for B2 SDK for Java. Does not include any implementations of B2WebApiClient.
/*
* Copyright 2017, Backblaze Inc. All Rights Reserved.
* License https://www.backblaze.com/using_b2_code.html
*/
package com.backblaze.b2.client.credentialsSources;
/**
* Simple implementation of B2Credentials.
*/
public class B2CredentialsImpl implements B2Credentials {
private final String accountId;
private final String appKey;
B2CredentialsImpl(String accountId,
String appKey) {
this.accountId = accountId;
this.appKey = appKey;
}
@Override
public String getAccountId() {
return accountId;
}
@Override
public String getApplicationKey() {
return appKey;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy