public class AuthInfo extends Object implements Into<io.greptime.v1.Common.AuthHeader>
Constructor and Description |
---|
AuthInfo(String username,
String password)
Create AuthInfo from username/password.
|
Modifier and Type | Method and Description |
---|---|
io.greptime.v1.Common.AuthHeader |
into() |
static AuthInfo |
noAuthorization()
Creates an AuthInfo with no authorization.
|
String |
toBase64()
Converts the AuthInfo to a base64 encoded string.
|
public static AuthInfo noAuthorization()
public String toBase64()
public io.greptime.v1.Common.AuthHeader into()
into
in interface Into<io.greptime.v1.Common.AuthHeader>
Copyright © 2025. All rights reserved.