Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 84 for accesstoken (0.1 sec)

  1. src/main/java/org/codelibs/fess/es/config/exentity/AccessToken.java

     */
    package org.codelibs.fess.es.config.exentity;
    
    import java.util.Arrays;
    import java.util.Date;
    
    import org.codelibs.fess.es.config.bsentity.BsAccessToken;
    
    /**
     * @author ESFlute (using FreeGen)
     */
    public class AccessToken extends BsAccessToken {
    
        private static final long serialVersionUID = 1L;
    
        public String getId() {
            return asDocMeta().id();
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/service/AccessTokenService.java

        }
    
        public OptionalEntity<AccessToken> getAccessToken(final String id) {
            return accessTokenBhv.selectByPK(id);
        }
    
        public void store(final AccessToken accessToken) {
    
            accessTokenBhv.insertOrUpdate(accessToken, op -> op.setRefreshPolicy(Constants.TRUE));
    
        }
    
        public void delete(final AccessToken accessToken) {
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/es/config/bsbhv/BsAccessTokenBhv.java

        }
    
        @Override
        protected Class<? extends AccessToken> typeOfSelectedEntity() {
            return AccessToken.class;
        }
    
        @Override
        protected Class<AccessToken> typeOfHandlingEntity() {
            return AccessToken.class;
        }
    
        @Override
        protected Class<AccessTokenCB> typeOfHandlingConditionBean() {
            return AccessTokenCB.class;
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/es/config/bsentity/dbmeta/AccessTokenDbm.java

            setupEpg(_epgMap, et -> ((AccessToken) et).getName(), (et, vl) -> ((AccessToken) et).setName(DfTypeUtil.toString(vl)), "name");
            setupEpg(_epgMap, et -> ((AccessToken) et).getParameterName(),
                    (et, vl) -> ((AccessToken) et).setParameterName(DfTypeUtil.toString(vl)), "parameterName");
            setupEpg(_epgMap, et -> ((AccessToken) et).getPermissions(), (et, vl) -> ((AccessToken) et).setPermissions((String[]) vl),
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  5. 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)
  6. src/main/java/org/codelibs/fess/app/web/api/admin/accesstoken/ApiAdminAccesstokenAction.java

            });
            return asJson(new ApiUpdateResponse().id(accessToken.getId()).created(true).status(Status.OK).result());
        }
    
        // POST /api/admin/accesstoken/setting
        @Execute
        public JsonResponse<ApiResult> post$setting(final EditBody body) {
            validateApi(body, messages -> {});
            body.crudMode = CrudMode.EDIT;
            final AccessToken accessToken = getAccessToken(body).map(entity -> {
                try {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 7K bytes
    - Viewed (0)
  7. samples/slack/src/main/java/okhttp3/slack/SlackClient.java

        }
      }
    
      /** Starts a real time messaging session. */
      public void startRtm() throws IOException {
        String accessToken;
        synchronized (this) {
          accessToken = session.access_token;
        }
    
        RtmSession rtmSession = new RtmSession(slackApi);
        rtmSession.open(accessToken);
      }
    
      public static void main(String... args) throws Exception {
        String clientId = "0000000000.00000000000";
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 12 03:31:36 UTC 2019
    - 3.4K bytes
    - Viewed (0)
  8. 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)
  9. samples/slack/src/main/java/okhttp3/slack/OAuthSession.java

      public final boolean ok;
      public final String access_token;
      public final String scope;
      public final String user_id;
      public final String team_name;
      public final String team_id;
    
      public OAuthSession(
          boolean ok, String accessToken, String scope, String userId, String teamName, String teamId) {
        this.ok = ok;
        this.access_token = accessToken;
        this.scope = scope;
        this.user_id = userId;
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Oct 23 15:24:22 UTC 2016
    - 1.4K bytes
    - Viewed (0)
  10. internal/config/identity/openid/jwt.go

    }
    
    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)
Back to top