HomeSort by relevance Sort by last modified time
    Searched refs:AuthScope (Results 1 - 25 of 57) sorted by null

1 2 3

  /external/apache-http/src/org/apache/http/client/
CredentialsProvider.java 33 import org.apache.http.auth.AuthScope;
54 * @param authscope the {@link AuthScope authentication scope}
58 * @see #getCredentials(AuthScope)
60 void setCredentials(AuthScope authscope, Credentials credentials);
65 * @param authscope the {@link AuthScope authentication scope}
68 * @see #setCredentials(AuthScope, Credentials)
70 Credentials getCredentials(AuthScope authscope)
    [all...]
  /external/apache-http/src/org/apache/http/impl/client/
BasicCredentialsProvider.java 35 import org.apache.http.auth.AuthScope;
60 private final HashMap<AuthScope, Credentials> credMap;
67 this.credMap = new HashMap<AuthScope, Credentials>();
74 * @param authscope the {@link AuthScope authentication scope}
78 * @see #getCredentials(AuthScope)
81 final AuthScope authscope,
83 if (authscope == null) {
86 credMap.put(authscope, credentials)
    [all...]
  /external/libweave/src/privet/
privet_types.cc 58 const EnumToStringMap<AuthScope>::Map kAuthScopeMap[] = {
59 {AuthScope::kNone, "none"},
60 {AuthScope::kViewer, "viewer"},
61 {AuthScope::kUser, "user"},
62 {AuthScope::kManager, "manager"},
63 {AuthScope::kOwner, "owner"},
100 LIBWEAVE_EXPORT EnumToStringMap<AuthScope>::EnumToStringMap()
auth_manager_unittest.cc 75 UserInfo{AuthScope::kViewer, TestUserId{"234"}}, {})));
78 UserInfo{AuthScope::kManager, TestUserId{"257"}}, {})));
81 UserInfo{AuthScope::kOwner, TestUserId{"456"}}, {})));
86 UserInfo{AuthScope::kUser, TestUserId{"345"}}, {})));
91 UserInfo{AuthScope::kViewer, TestUserId{"555"}}, {}),
93 UserInfo{AuthScope::kViewer, TestUserId{"555"}}, {}));
98 UserInfo{AuthScope::kViewer,
102 UserInfo{AuthScope::kViewer,
109 UserInfo{AuthScope::kViewer,
113 UserInfo{AuthScope::kViewer
    [all...]
privet_types.h 59 explicit UserInfo(AuthScope scope = AuthScope::kNone,
61 : scope_{scope}, id_{scope == AuthScope::kNone ? UserAppId{} : id} {}
62 AuthScope scope() const { return scope_; }
66 AuthScope scope_;
security_manager.h 64 AuthScope desired_scope,
66 AuthScope* access_token_scope,
105 AuthScope desired_scope,
107 AuthScope* access_token_scope,
111 AuthScope desired_scope,
113 AuthScope* access_token_scope,
security_delegate.h 27 AuthScope desired_scope,
29 AuthScope* granted_scope,
auth_manager.cc 245 UwMacaroonCaveatScopeType ToMacaroonScope(AuthScope scope) {
247 case AuthScope::kViewer:
249 case AuthScope::kUser:
251 case AuthScope::kManager:
253 case AuthScope::kOwner:
261 AuthScope FromMacaroonScope(uint32_t scope) {
263 return AuthScope::kOwner;
265 return AuthScope::kManager;
267 return AuthScope::kUser;
269 return AuthScope::kViewer
    [all...]
security_manager_unittest.cc 122 AuthScope scope;
125 auth_code_base64, AuthScope::kOwner,
127 EXPECT_EQ(AuthScope::kOwner, scope);
132 EXPECT_EQ(AuthScope::kOwner, info.scope());
156 AuthScope scopes[] = {
157 AuthScope::kViewer, AuthScope::kUser, AuthScope::kManager,
158 AuthScope::kOwner,
161 const AuthScope requested_scope = scopes[i % arraysize(scopes)]
    [all...]
privet_handler.cc 242 AuthScope anonymous_max_scope) {
296 AuthScope GetAnonymousMaxScope(const CloudDelegate& cloud,
299 return AuthScope::kNone;
384 AddHandler("/privet/info", &PrivetHandler::HandleInfo, AuthScope::kNone);
386 AuthScope::kNone);
388 AuthScope::kNone);
390 AuthScope::kNone);
393 AuthScope::kNone);
395 &PrivetHandler::HandleAccessControlClaim, AuthScope::kOwner);
398 AuthScope::kOwner)
    [all...]
privet_handler.h 75 void AddHandler(const std::string& path, ApiHandler handler, AuthScope scope);
80 AuthScope scope);
150 AuthScope scope;
mock_delegates.h 73 AuthScope,
75 AuthScope*,
101 SetArgPointee<4>(AuthScope::kViewer),
112 AuthScope::kViewer,
183 MOCK_CONST_METHOD0(GetAnonymousMaxScope, AuthScope());
219 .WillRepeatedly(Return(AuthScope::kUser));
cloud_delegate.cc 102 AuthScope GetAnonymousMaxScope() const override {
167 CHECK(user_info.scope() != AuthScope::kNone);
192 CHECK(user_info.scope() != AuthScope::kNone);
203 CHECK(user_info.scope() != AuthScope::kNone);
213 CHECK(user_info.scope() != AuthScope::kNone);
297 if (user_info.scope() < AuthScope::kManager) {
315 CHECK(user_info.scope() != AuthScope::kNone);
318 if (user_info.scope() == AuthScope::kManager ||
security_manager.cc 90 AuthScope desired_scope,
92 AuthScope* access_token_scope,
117 AuthScope desired_scope,
119 AuthScope* access_token_scope,
158 AuthScope desired_scope,
160 AuthScope* access_token_scope,
435 return GetSettings().local_anonymous_access_role != AuthScope::kNone;
auth_manager.h 64 AuthScope* access_token_scope,
cloud_delegate.h 82 virtual AuthScope GetAnonymousMaxScope() const = 0;
  /external/apache-http/src/org/apache/http/auth/
AuthScope.java 2 * $HeadURL: http://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/auth/AuthScope.java $
52 public class AuthScope {
80 public static final AuthScope ANY = new AuthScope(ANY_HOST, ANY_PORT, ANY_REALM, ANY_SCHEME);
111 public AuthScope(final String host, int port,
134 public AuthScope(final String host, int port, final String realm) {
149 public AuthScope(final String host, int port) {
156 public AuthScope(final AuthScope authscope) {
    [all...]
AuthState.java 53 private AuthScope authScope;
71 this.authScope = null;
123 * Returns actual {@link AuthScope} if available
127 public AuthScope getAuthScope() {
128 return this.authScope;
132 * Sets actual {@link AuthScope}.
134 * @param authScope Authentication scope
136 public void setAuthScope(final AuthScope authScope) {
    [all...]
  /external/libweave/include/weave/
settings.h 16 enum class AuthScope {
49 AuthScope local_anonymous_access_role{AuthScope::kViewer};
  /external/libweave/src/
config_unittest.cc 79 EXPECT_EQ(AuthScope::kViewer, GetSettings().local_anonymous_access_role);
176 EXPECT_EQ(AuthScope::kUser, GetSettings().local_anonymous_access_role);
218 change.set_local_anonymous_access_role(AuthScope::kViewer);
219 EXPECT_EQ(AuthScope::kViewer, GetSettings().local_anonymous_access_role);
221 change.set_local_anonymous_access_role(AuthScope::kNone);
222 EXPECT_EQ(AuthScope::kNone, GetSettings().local_anonymous_access_role);
224 change.set_local_anonymous_access_role(AuthScope::kUser);
225 EXPECT_EQ(AuthScope::kUser, GetSettings().local_anonymous_access_role);
base_api_handler.cc 143 AuthScope auth_scope{AuthScope::kNone};
base_api_handler_unittest.cc 193 EXPECT_EQ(AuthScope::kNone, settings.local_anonymous_access_role);
214 EXPECT_EQ(AuthScope::kUser, settings.local_anonymous_access_role);
227 change.set_local_anonymous_access_role(AuthScope::kViewer);
config.cc 75 result.local_anonymous_access_role = AuthScope::kViewer;
210 AuthScope scope{AuthScope::kNone};
config.h 81 void set_local_anonymous_access_role(AuthScope role) {
  /system/weaved/buffet/
buffet_config_unittest.cc 75 EXPECT_EQ(weave::AuthScope::kUser, settings.local_anonymous_access_role);

Completed in 1051 milliseconds

1 2 3