Class AuthInfo
- java.lang.Object
-
- com.google.gerrit.extensions.common.AuthInfo
-
public class AuthInfo extends Object
Representation of auth-related server configuration in the REST API.This class determines the JSON format of auth-related server configuration in the REST API.
The contained values come from the
authsection ofgerrit.config.
-
-
Field Summary
Fields Modifier and Type Field Description AuthTypeauthTypeThe authentication type that is configured on the server.List<AgreementInfo>contributorAgreementsList of contributor agreements that have been configured on the server.List<AccountFieldName>editableAccountFieldsList of account fields that are editable.StringeditFullNameUrlThe URL to edit the full name.GitBasicAuthPolicygitBasicAuthPolicyThe policy to authenticate Git over HTTP and REST API requests.StringhttpPasswordUrlThe URL to obtain an HTTP password.StringloginTextThe login text.StringloginUrlThe login URL.StringregisterTextThe register text.StringregisterUrlThe register URL.StringswitchAccountUrlThe URL to switch accounts.BooleanuseContributorAgreementsWhether contributor agreements are required.
-
Constructor Summary
Constructors Constructor Description AuthInfo()
-
-
-
Field Detail
-
authType
public AuthType authType
The authentication type that is configured on the server.The value of the
auth.typeparameter ingerrit.config.
-
useContributorAgreements
public Boolean useContributorAgreements
Whether contributor agreements are required.The value of the
auth.contributorAgreementsparameter ingerrit.config.
-
contributorAgreements
public List<AgreementInfo> contributorAgreements
List of contributor agreements that have been configured on the server.
-
editableAccountFields
public List<AccountFieldName> editableAccountFields
List of account fields that are editable.
-
loginUrl
public String loginUrl
The login URL.The value of the
auth.loginUrlparameter ingerrit.config.Only set if authentication type is
HTTPorHTTP_LDAP.
-
loginText
public String loginText
The login text.The value of the
auth.loginTextparameter ingerrit.config.Only set if authentication type is
HTTPorHTTP_LDAP.
-
switchAccountUrl
public String switchAccountUrl
The URL to switch accounts.The value of the
auth.switchAccountUrlparameter ingerrit.config.
-
registerUrl
public String registerUrl
The register URL.The value of the
auth.registerUrlparameter ingerrit.config.Only set if authentication type is
LDAP,LDAP_BINDorCUSTOM_EXTENSION.
-
registerText
public String registerText
The register text.The value of the
auth.registerTextparameter ingerrit.config.Only set if authentication type is
LDAP,LDAP_BINDorCUSTOM_EXTENSION.
-
editFullNameUrl
public String editFullNameUrl
The URL to edit the full name.The value of the
auth.editFullNameUrlparameter ingerrit.config.Only set if authentication type is
LDAP,LDAP_BINDorCUSTOM_EXTENSION.
-
httpPasswordUrl
public String httpPasswordUrl
The URL to obtain an HTTP password.The value of the
auth.httpPasswordUrlparameter ingerrit.config.Only set if authentication type is
CUSTOM_EXTENSION.
-
gitBasicAuthPolicy
public GitBasicAuthPolicy gitBasicAuthPolicy
The policy to authenticate Git over HTTP and REST API requests.The value of the
auth.gitBasicAuthPolicyparameter ingerrit.config.Only set if authentication type is
LDAP,LDAP_BINDorOAUTH.
-
-