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

com.yandex.ydb.core.auth.TokenAuthProvider Maven / Gradle / Ivy

There is a newer version: 1.45.6
Show newest version
package com.yandex.ydb.core.auth;

/**
 * @author Sergey Polovko
 */
public class TokenAuthProvider implements AuthProvider {

    private final String token;

    public TokenAuthProvider(String token) {
        this.token = token;
    }

    @Override
    public String getToken() {
        return token;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy