Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for AccessToken (0.08 sec)

  1. internal/config/identity/openid/provider/keycloak.go

    		return User{}, err
    	}
    	req.URL.Path = path.Join(req.URL.Path, "realms", k.realm, "users", userid)
    
    	k.Lock()
    	accessToken := k.accessToken
    	k.Unlock()
    	if accessToken.AccessToken == "" {
    		return User{}, ErrAccessTokenExpired
    	}
    	req.Header.Set("Authorization", "Bearer "+accessToken.AccessToken)
    	resp, err := k.client.Do(req)
    	if err != nil {
    		return User{}, err
    	}
    	defer resp.Body.Close()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Jul 14 18:12:07 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  2. internal/config/identity/openid/providercfg.go

    	if err != nil {
    		return nil, err
    	}
    
    	req.Header.Set("Content-Type", "application/x-www-form-urlencoded")
    	if accessToken != "" {
    		req.Header.Set("Authorization", "Bearer "+accessToken)
    	}
    
    	client := &http.Client{
    		Transport: transport,
    	}
    
    	resp, err := client.Do(req)
    	if err != nil {
    		return nil, err
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  3. internal/config/identity/openid/jwt.go

    	return nil
    }
    
    func (r *Config) updateUserinfoClaims(ctx context.Context, arn arn.ARN, accessToken string, claims map[string]interface{}) error {
    	pCfg, ok := r.arnProviderCfgsMap[arn]
    	// If claim user info is enabled, get claims from userInfo
    	// and overwrite them with the claims from JWT.
    	if ok && pCfg.ClaimUserinfo {
    		if accessToken == "" {
    			return errors.New("access_token is mandatory if user_info claim is enabled")
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 02:46:36 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/sso/oic/OpenIdConnectAuthenticator.java

                }
    
                // TODO validate signiture
    
                final Map<String, Object> attributes = new HashMap<>();
                attributes.put("accesstoken", tr.getAccessToken());
                attributes.put("refreshtoken", tr.getRefreshToken() == null ? "null" : tr.getRefreshToken());
                attributes.put("tokentype", tr.getTokenType());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  5. cmd/sts-handlers.go

    		return
    	}
    
    	ctx = newContext(r, w, action)
    
    	token := r.Form.Get(stsToken)
    	if token == "" {
    		token = r.Form.Get(stsWebIdentityToken)
    	}
    
    	accessToken := r.Form.Get(stsWebIdentityAccessToken)
    
    	// RoleARN parameter processing: If a role ARN is given in the request, we
    	// use that and validate the authentication request. If not, we assume this
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 01:29:20 UTC 2024
    - 33.9K bytes
    - Viewed (0)
  6. src/main/resources/fess_config.properties

    online.help.name.scheduler=scheduler
    online.help.name.crawlinginfo=crawlinginfo
    online.help.name.backup=backup
    online.help.name.upgrade=upgrade
    online.help.name.esreq=esreq
    online.help.name.accesstoken=accesstoken
    online.help.name.suggest=suggest
    online.help.name.searchlog=searchlog
    online.help.name.maintenance=maintenance
    online.help.name.plugin=plugin
    online.help.name.storage=storage
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Tue Oct 01 14:13:38 UTC 2024
    - 30.9K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/mylasta/direction/FessConfig.java

        /** The key of the configuration. e.g. esreq */
        String ONLINE_HELP_NAME_ESREQ = "online.help.name.esreq";
    
        /** The key of the configuration. e.g. accesstoken */
        String ONLINE_HELP_NAME_ACCESSTOKEN = "online.help.name.accesstoken";
    
        /** The key of the configuration. e.g. suggest */
        String ONLINE_HELP_NAME_SUGGEST = "online.help.name.suggest";
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 468.5K bytes
    - Viewed (1)
Back to top