Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 152 for jwt (0.01 seconds)

  1. cmd/sts-handlers.go

    	customTokenIdentity = "AssumeRoleWithCustomToken"
    	assumeRole          = "AssumeRole"
    
    	stsRequestBodyLimit = 10 * (1 << 20) // 10 MiB
    
    	// JWT claim keys
    	expClaim = "exp"
    	subClaim = "sub"
    	audClaim = "aud"
    	issClaim = "iss"
    
    	// JWT claim to check the parent user
    	parentClaim = "parent"
    
    	// LDAP claim keys
    	ldapUser       = "ldapUser"       // this is a key name for a normalized DN value
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 36.6K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/exception/InvalidAccessTokenExceptionTest.java

            assertNull(exception.getCause());
        }
    
        @Test
        public void test_constructor_withEmptyMessage() {
            // Test constructor with empty message string
            String type = "JWT";
            String message = "";
            InvalidAccessTokenException exception = new InvalidAccessTokenException(type, message);
    
            assertEquals(type, exception.getType());
            assertEquals("", exception.getMessage());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 10.7K bytes
    - Click Count (0)
  3. docs/zh/docs/advanced/security/oauth2-scopes.md

    你可以选择要授予访问权限的作用域:`me` 和 `items`。
    
    这与使用 Facebook、Google、GitHub 等登录时授予权限的机制相同:
    
    <img src="/img/tutorial/security/image11.png">
    
    ## 带作用域的 JWT 令牌 { #jwt-token-with-scopes }
    
    现在,修改令牌的*路径操作*以返回请求的作用域。
    
    我们仍然使用 `OAuth2PasswordRequestForm`。它包含 `scopes` 属性,其值是 `list[str]`,包含请求中接收到的每个作用域。
    
    我们把这些作用域作为 JWT 令牌的一部分返回。
    
    /// danger | 危险
    
    为简单起见,此处我们只是把接收到的作用域直接添加到了令牌中。
    
    但在你的应用里,为了安全起见,你应该只添加该用户实际能够拥有的作用域,或你预先定义的作用域。
    
    ///
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 13K bytes
    - Click Count (0)
  4. internal/config/identity/openid/help.go

    			Optional:    true,
    			Type:        "string",
    		},
    		config.HelpKV{
    			Key:         ClaimName,
    			Description: `JWT canned policy claim name` + defaultHelpPostfix(ClaimName),
    			Optional:    true,
    			Type:        "string",
    		},
    		config.HelpKV{
    			Key:         Scopes,
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Jun 23 14:45:27 GMT 2023
    - 4.3K bytes
    - Click Count (0)
  5. internal/config/dns/operator_dns.go

    func (c *OperatorDNS) addAuthHeader(r *http.Request) error {
    	if c.username == "" || c.password == "" {
    		return nil
    	}
    
    	claims := &jwt.StandardClaims{
    		ExpiresAt: int64(15 * time.Minute),
    		Issuer:    c.username,
    		Subject:   config.EnvDNSWebhook,
    	}
    
    	token := jwt.NewWithClaims(jwt.SigningMethodHS512, claims)
    	ss, err := token.SignedString([]byte(c.password))
    	if err != nil {
    		return err
    	}
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Mon Nov 11 14:51:43 GMT 2024
    - 6.6K bytes
    - Click Count (0)
  6. docs/multi-user/README.md

    	  "Resource": ["arn:aws:s3:::mybucket/${aws:username}/*"]
    	}
      ]
    }
    ```
    
    If the user is authenticating using an STS credential which was authorized from OpenID connect we allow all `jwt:*` variables specified in the JWT specification, custom `jwt:*` or extensions are not supported. List of policy variables for OpenID based STS.
    
    - `jwt:sub`
    - `jwt:iss`
    - `jwt:aud`
    - `jwt:jti`
    - `jwt:upn`
    - `jwt:name`
    - `jwt:groups`
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Aug 12 18:20:36 GMT 2025
    - 8.2K bytes
    - Click Count (0)
  7. internal/logger/help.go

    			Description: `HTTP(s) endpoint e.g. "http://localhost:8080/minio/logs/server"`,
    			Type:        "url",
    			Sensitive:   true,
    		},
    		config.HelpKV{
    			Key:         AuthToken,
    			Description: `opaque string or JWT authorization token`,
    			Optional:    true,
    			Type:        "string",
    			Sensitive:   true,
    			Secret:      true,
    		},
    		config.HelpKV{
    			Key:         ClientCert,
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Sep 11 22:20:42 GMT 2024
    - 7.4K bytes
    - Click Count (0)
  8. docs_src/security/tutorial005_an_py310.py

    from datetime import datetime, timedelta, timezone
    from typing import Annotated
    
    import jwt
    from fastapi import Depends, FastAPI, HTTPException, Security, status
    from fastapi.security import (
        OAuth2PasswordBearer,
        OAuth2PasswordRequestForm,
        SecurityScopes,
    )
    from jwt.exceptions import InvalidTokenError
    from pwdlib import PasswordHash
    from pydantic import BaseModel, ValidationError
    
    # to get a string like this run:
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 18:10:35 GMT 2026
    - 5.4K bytes
    - Click Count (0)
  9. docs/en/docs/project-generation.md

      - 🧪 [Playwright](https://playwright.dev) for End-to-End testing.
      - 🦇 Dark mode support.
    - 🐋 [Docker Compose](https://www.docker.com) for development and production.
    - 🔒 Secure password hashing by default.
    - 🔑 JWT (JSON Web Token) authentication.
    - 📫 Email based password recovery.
    - ✅ Tests with [Pytest](https://pytest.org).
    - 📞 [Traefik](https://traefik.io) as a reverse proxy / load balancer.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 1.9K bytes
    - Click Count (0)
  10. docs_src/security/tutorial004_py310.py

    from datetime import datetime, timedelta, timezone
    
    import jwt
    from fastapi import Depends, FastAPI, HTTPException, status
    from fastapi.security import OAuth2PasswordBearer, OAuth2PasswordRequestForm
    from jwt.exceptions import InvalidTokenError
    from pwdlib import PasswordHash
    from pydantic import BaseModel
    
    # to get a string like this run:
    # openssl rand -hex 32
    SECRET_KEY = "09d25e094faa6ca2556c818166b7a9563b93f7099f6f0f4caa6cf63b88e8d3e7"
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 18:10:35 GMT 2026
    - 4.1K bytes
    - Click Count (0)
Back to Top