// Code generated by openapi-nexus. DO NOT EDIT.
//
// Petstore API — 1.0.0
// This is a sample Pet Store Server based on the OpenAPI 3.1 specification
package com.example.sdk.runtime;
import okhttp3.Request;
public class BearerAuth implements Authenticator {
private final String token;
public BearerAuth(String token) {
this.token = token;
}
@Override
public void authenticate(Request.Builder builder) {
builder.header("Authorization", "Bearer " + token);
}
}