/** * Set the security token for the request. * * @param token The security token * @return This object */ AuthInfo setSecurityToken(SecurityToken token) { setRequestAttribute(req, Attribute.SECURITY_TOKEN, token); return this; }
/** * Set the auth type for the request. * * @param authType The named auth type * @return This object */ AuthInfo setAuthType(String authType) { setRequestAttribute(req, Attribute.AUTH_TYPE, authType); return this; }
/** * Set the security token for the request. * * @param token The security token * @return This object */ AuthInfo setSecurityToken(SecurityToken token) { setRequestAttribute(req, Attribute.SECURITY_TOKEN, token); return this; }
/** * Set the auth type for the request. * * @param authType The named auth type * @return This object */ AuthInfo setAuthType(String authType) { setRequestAttribute(req, Attribute.AUTH_TYPE, authType); return this; }