Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 567 for mytoken (0.04 sec)

  1. tests/test_security_http_bearer_description.py

    from fastapi import FastAPI, Security
    from fastapi.security import HTTPAuthorizationCredentials, HTTPBearer
    from fastapi.testclient import TestClient
    
    app = FastAPI()
    
    security = HTTPBearer(description="HTTP Bearer token scheme")
    
    
    @app.get("/users/me")
    def read_current_user(credentials: HTTPAuthorizationCredentials = Security(security)):
        return {"scheme": credentials.scheme, "credentials": credentials.credentials}
    
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 24 19:03:06 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  2. docs/pt/docs/tutorial/security/get-current-user.md

    {* ../../docs_src/security/tutorial002_an_py310.py hl[25] *}
    
    ## Obter o usuário { #get-the-user }
    
    `get_current_user` usará uma função utilitária (falsa) que criamos, que recebe um token como uma `str` e retorna nosso modelo Pydantic `User`:
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Nov 12 16:23:57 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  3. docs/batch-jobs/README.md

    	  #     value: "image/*" # match objects with 'content-type', with all values starting with 'image/'
    
    	notify:
    	  endpoint: "https://notify.endpoint" # notification endpoint to receive job status events
    	  token: "Bearer xxxxx" # optional authentication token for the notification endpoint
    
    	retry:
    	  attempts: 10 # number of retries for the job before giving up
    	  delay: "500ms" # least amount of delay between each retry
    ```
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Thu Oct 06 06:00:43 UTC 2022
    - 4.8K bytes
    - Viewed (0)
  4. docs/de/docs/advanced/security/oauth2-scopes.md

    Das ist derselbe Mechanismus, der verwendet wird, wenn Sie beim Anmelden mit Facebook, Google, GitHub, usw. Berechtigungen erteilen:
    
    <img src="/img/tutorial/security/image11.png">
    
    ## JWT-Token mit Scopes { #jwt-token-with-scopes }
    
    Ändern Sie nun die Token-*Pfadoperation*, um die angeforderten Scopes zurückzugeben.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Sep 20 15:10:09 UTC 2025
    - 15.7K bytes
    - Viewed (0)
  5. docs/en/docs/advanced/security/oauth2-scopes.md

    <img src="/img/tutorial/security/image11.png">
    
    ## JWT token with scopes { #jwt-token-with-scopes }
    
    Now, modify the token *path operation* to return the scopes requested.
    
    We are still using the same `OAuth2PasswordRequestForm`. It includes a property `scopes` with a `list` of `str`, with each scope it received in the request.
    
    And we return the scopes as part of the JWT token.
    
    /// danger
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/opensearch/config/exentity/AccessToken.java

        public void setExpires(final Date date) {
            setExpiredTime(date != null ? date.getTime() : null);
        }
    
        @Override
        public String toString() {
            return "AccessToken [name=" + name + ", token=" + token + ", permissions=" + Arrays.toString(permissions) + ", parameterName="
                    + parameterName + ", createdBy=" + createdBy + ", createdTime=" + createdTime + ", updatedBy=" + updatedBy
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/dict/kuromoji/AdminDictKuromojiAction.java

         * @param form The create form.
         */
        protected void verifyForm(final CreateForm form) {
            if (form.token != null && form.token.split(" ").length > 1) {
                throwValidationError(messages -> {
                    messages.addErrorsInvalidKuromojiToken("token", form.token);
                }, this::asEditHtml);
            }
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 21.5K bytes
    - Viewed (0)
  8. internal/config/identity/plugin/config.go

    	minValidityDurationSeconds int = 900
    	maxValidityDurationSeconds int = 365 * 24 * 3600
    )
    
    // Authenticate authenticates the token with the external hook endpoint and
    // returns a parent user, max expiry duration for the authentication and a set
    // of claims.
    func (o *AuthNPlugin) Authenticate(roleArn arn.ARN, token string) (AuthNResponse, error) {
    	if o == nil {
    		return AuthNResponse{}, nil
    	}
    
    	if roleArn != o.args.RoleARN {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 13.3K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/opensearch/config/cbean/ca/bs/BsAccessTokenCA.java

        }
    
        public void setToken_Terms(ConditionOptionCall<TermsAggregationBuilder> opLambda) {
            setToken_Terms("token", opLambda, null);
        }
    
        public void setToken_Terms(ConditionOptionCall<TermsAggregationBuilder> opLambda, OperatorCall<BsAccessTokenCA> aggsLambda) {
            setToken_Terms("token", opLambda, aggsLambda);
        }
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 60K bytes
    - Viewed (0)
  10. src/main/webapp/WEB-INF/view/admin/dict/kuromoji/admin_dict_kuromoji_details.jsp

                                        <tr>
                                            <th style="width: 25%"><la:message key="labels.dict_kuromoji_token"/></th>
                                            <td>${f:h(token)}<la:hidden property="token"/></td>
                                        </tr>
                                        <tr>
                                            <th><la:message key="labels.dict_kuromoji_segmentation"/></th>
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 13 05:54:52 UTC 2025
    - 8.2K bytes
    - Viewed (0)
Back to top