@LegacyMixIn(preferred=StandardUsernameCredentials.class) @NameWith(value=UsernameCredentials.NameProvider.class) public interface UsernameCredentials extends Credentials
| Modifier and Type | Interface and Description |
|---|---|
static class |
UsernameCredentials.NameProvider
Our name provider.
|
ExtensionPoint.LegacyInstancesAreScopedToHudson| Modifier and Type | Method and Description |
|---|---|
String |
getUsername()
Returns the username.
|
default boolean |
isUsernameSecret()
Whether
getUsername() should be considered a secret for purposes of behaviors like masking in build logs. |
getDescriptor, getScope@NonNull String getUsername()
default boolean isUsernameSecret()
getUsername() should be considered a secret for purposes of behaviors like masking in build logs.Copyright © 2016–2021. All rights reserved.