- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 144 for Authorize (0.12 sec)
-
samples/slack/src/main/java/okhttp3/slack/SlackClient.java
/** Guarded by this. */ private OAuthSession session; public SlackClient(SlackApi slackApi) { this.slackApi = slackApi; } /** Shows a browser URL to authorize this app to act as this user. */ public void requestOauthSession(String scopes, String team) throws Exception { if (sessionFactory == null) { sessionFactory = new OAuthSessionFactory(slackApi);
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Sat Jan 12 03:31:36 UTC 2019 - 3.4K bytes - Viewed (0) -
plugin/pkg/admission/certificates/approval/admission_test.go
verb string allowedName string decision authorizer.Decision err error } func (f fakeAuthorizer) Authorize(ctx context.Context, a authorizer.Attributes) (authorizer.Decision, string, error) { if f.err != nil { return f.decision, "forced error", f.err } if a.GetVerb() != f.verb { return authorizer.DecisionDeny, fmt.Sprintf("unrecognised verb '%s'", a.GetVerb()), nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Feb 27 15:50:14 UTC 2020 - 6.3K bytes - Viewed (0) -
pilot/pkg/features/security.go
XDSAuth = env.Register("XDS_AUTH", true, "If true, will authenticate XDS clients.").Get() EnableXDSIdentityCheck = env.Register( "PILOT_ENABLE_XDS_IDENTITY_CHECK", true, "If enabled, pilot will authorize XDS clients, to ensure they are acting only as namespaces they have permissions for.", ).Get() // TODO: Move this to proper API. trustedGatewayCIDR = env.Register( "TRUSTED_GATEWAY_CIDR", "",
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sat Jan 13 03:50:59 UTC 2024 - 3.1K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/validating/caching_authorizer_test.go
}, { decision: authorizer.DecisionDeny, reason: "test reason beta", error: fmt.Errorf("test error beta"), }, }, }, } { t.Run(tc.name, func(t *testing.T) { var misses int frontend := newCachingAuthorizer(func() authorizer.Authorizer { return authorizer.AuthorizerFunc(func(_ context.Context, attributes authorizer.Attributes) (authorizer.Decision, string, error) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Feb 12 18:58:24 UTC 2024 - 6.3K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/plugin/pkg/authorizer/webhook/metrics_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Mar 04 19:01:15 UTC 2024 - 6.6K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/initializer/initializer_test.go
// TestAuthorizer is a test stub that fulfills the WantsAuthorizer interface. type TestAuthorizer struct{} func (t *TestAuthorizer) Authorize(ctx context.Context, a authorizer.Attributes) (authorized authorizer.Decision, reason string, err error) { return authorizer.DecisionNoOpinion, "", nil } func TestRESTMapperAdmissionPlugin(t *testing.T) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 06 00:00:21 UTC 2024 - 8.2K bytes - Viewed (0) -
plugin/pkg/admission/certificates/signing/admission_test.go
verb string allowedName string decision authorizer.Decision err error } func (f fakeAuthorizer) Authorize(ctx context.Context, a authorizer.Attributes) (authorizer.Decision, string, error) { if f.err != nil { return f.decision, "forced error", f.err } if a.GetVerb() != f.verb { return authorizer.DecisionDeny, fmt.Sprintf("unrecognised verb '%s'", a.GetVerb()), nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 28 16:20:40 UTC 2020 - 8.9K bytes - Viewed (0) -
samples/slack/src/main/java/okhttp3/slack/SlackApi.java
} /** See https://api.slack.com/docs/oauth. */ public HttpUrl authorizeUrl(String scopes, HttpUrl redirectUrl, ByteString state, String team) { HttpUrl.Builder builder = baseUrl.newBuilder("/oauth/authorize") .addQueryParameter("client_id", clientId) .addQueryParameter("scope", scopes) .addQueryParameter("redirect_uri", redirectUrl.toString()) .addQueryParameter("state", state.base64());
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Fri Jul 06 19:30:55 UTC 2018 - 4.4K bytes - Viewed (0) -
docs/en/docs/tutorial/security/first-steps.md
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Mon Jun 03 01:48:20 UTC 2024 - 9.1K bytes - Viewed (0) -
pkg/kubeapiserver/authorizer/config.go
} seenModes.Insert(authorizer.Type) expectedName := GetNameForAuthorizerMode(string(authorizer.Type)) if expectedName != authorizer.Name { allErrors = append(allErrors, fmt.Errorf("expected name %s for authorizer %s instead of %s", expectedName, authorizer.Type, authorizer.Name)) } } if missingTypes := requireNonWebhookTypes.Difference(seenModes); missingTypes.Len() > 0 {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 21:22:55 UTC 2024 - 8K bytes - Viewed (0)