Lines Matching refs:username
69 // Returns true if the username is allowed based on the policy string.
70 static bool IsUsernameAllowedByPolicy(const std::string& username,
80 const std::string& username,
94 // invalid username policy updates, we need to check this during
103 // has completed for |username|.
104 void OnExternalSigninCompleted(const std::string& username);
111 // Returns true if the passed username is allowed by policy. Virtual for
113 virtual bool IsAllowedUsername(const std::string& username) const;
115 // If an authentication is in progress, return the username being
154 // used to perform the signin while |username| and |password| identify the
156 // passed |username| is not allowed by policy.
158 const std::string& username,
161 // Persists |username| as the currently signed-in account, and triggers
163 void OnSignedIn(const std::string& username);