- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 559 for Authorize (0.21 sec)
-
staging/src/k8s.io/apiserver/pkg/endpoints/filters/authorization_test.go
} } type fakeAuthorizer struct { decision authorizer.Decision reason string err error } func (f fakeAuthorizer) Authorize(ctx context.Context, a authorizer.Attributes) (authorizer.Decision, string, error) { return f.decision, f.reason, f.err } func TestAuditAnnotation(t *testing.T) { testcases := map[string]struct { authorizer fakeAuthorizer decisionAnnotation string
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jul 03 16:16:51 UTC 2023 - 5K bytes - Viewed (0) -
docs/zh/docs/tutorial/security/first-steps.md
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Wed Mar 13 19:02:19 UTC 2024 - 7.4K bytes - Viewed (0) -
plugin/pkg/auth/authorizer/node/node_authorizer_test.go
User user.Info Secret string ConfigMap string Decision authorizer.Decision }{ {User: node1, Decision: authorizer.DecisionAllow, Secret: "node1-only"}, {User: node1, Decision: authorizer.DecisionAllow, Secret: "node1-node2-only"}, {User: node1, Decision: authorizer.DecisionAllow, Secret: "shared-all"}, {User: node2, Decision: authorizer.DecisionNoOpinion, Secret: "node1-only"},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 21:22:55 UTC 2024 - 40.5K bytes - Viewed (0) -
pilot/pkg/xds/auth.go
c, err := security.Authenticate(ctx, s.Authenticators) if c != nil { return c.Identities, nil } return nil, err } func (s *DiscoveryServer) authorize(con *Connection, identities []string) error { if con == nil || con.proxy == nil { return nil } if features.EnableXDSIdentityCheck && identities != nil {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 30 00:26:45 UTC 2024 - 2.4K bytes - Viewed (0) -
pkg/registry/admissionregistration/validatingadmissionpolicybinding/authz_test.go
auth: func(ctx context.Context, a authorizer.Attributes) (authorized authorizer.Decision, reason string, err error) { return authorizer.DecisionDeny, "", nil }, }, { name: "authorized", userInfo: &user.DefaultInfo{Groups: []string{user.AllAuthenticated}}, auth: func(ctx context.Context, a authorizer.Attributes) (authorized authorizer.Decision, reason string, err error) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jul 20 16:30:09 UTC 2023 - 5.7K bytes - Viewed (0) -
docs/iam/opa.md
OPA is a lightweight general-purpose policy engine that can be co-located with MinIO server, in this document we talk about how to use OPA HTTP API to authorize requests. It can be used with any type of credentials (STS based like OpenID or LDAP, regular IAM users or service accounts). OPA is enabled through MinIO's Access Management Plugin feature. ## Get started
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Sun Jul 17 15:43:14 UTC 2022 - 2.3K bytes - Viewed (0) -
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) -
staging/src/k8s.io/apiserver/pkg/endpoints/handlers/update.go
func withAuthorization(validate rest.ValidateObjectFunc, a authorizer.Authorizer, attributes authorizer.Attributes) rest.ValidateObjectFunc { var once sync.Once var authorizerDecision authorizer.Decision var authorizerReason string var authorizerErr error return func(ctx context.Context, obj runtime.Object) error { if a == nil { return errors.NewInternalError(fmt.Errorf("no authorizer provided, unable to authorize a create on update")) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 01 20:19:46 UTC 2023 - 11.5K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/plugin/pkg/authorizer/webhook/webhook.go
func (w *WebhookAuthorizer) RulesFor(user user.Info, namespace string) ([]authorizer.ResourceRuleInfo, []authorizer.NonResourceRuleInfo, bool, error) { var ( resourceRules []authorizer.ResourceRuleInfo nonResourceRules []authorizer.NonResourceRuleInfo ) incomplete := true return resourceRules, nonResourceRules, incomplete, fmt.Errorf("webhook authorizer does not support user rule resolution") }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Mar 04 19:01:15 UTC 2024 - 18.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)