Class AuthenticationModel
- java.lang.Object
-
- org.jenkinsci.plugins.fodupload.models.AuthenticationModel
-
public class AuthenticationModel extends Object
-
-
Constructor Summary
Constructors Constructor Description AuthenticationModel(boolean overrideGlobalConfig, String username, String personalAccessToken, String tenantId)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AuthenticationModel
fromPersonalAccessToken(String username, String accessTokenKey, String tenantId)
boolean
getOverrideGlobalConfig()
String
getPersonalAccessToken()
String
getTenantId()
String
getUsername()
void
setPersonalAccessToken(String newPersonalAccessToken)
void
setTenantId(String newTenantId)
void
setUsername(String newUsername)
-
-
-
Method Detail
-
getOverrideGlobalConfig
public boolean getOverrideGlobalConfig()
-
getUsername
public String getUsername()
-
getPersonalAccessToken
public String getPersonalAccessToken()
-
getTenantId
public String getTenantId()
-
setUsername
public void setUsername(String newUsername)
-
setPersonalAccessToken
public void setPersonalAccessToken(String newPersonalAccessToken)
-
setTenantId
public void setTenantId(String newTenantId)
-
fromPersonalAccessToken
public static AuthenticationModel fromPersonalAccessToken(String username, String accessTokenKey, String tenantId)
-
-