- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 22 for AccessToken (0.07 sec)
-
src/main/java/org/codelibs/fess/es/config/exentity/AccessToken.java
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(); } public void setId(final String 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) -
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) -
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) -
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) -
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) -
src/main/java/org/codelibs/fess/es/config/bsbhv/BsAccessTokenBhv.java
return createOptionalEntity(doSelectByPK(id, tp), id); } @Override protected Class<? extends AccessToken> typeOfSelectedEntity() { return AccessToken.class; } @Override protected Class<AccessToken> typeOfHandlingEntity() { return AccessToken.class; } @Override protected Class<AccessTokenCB> typeOfHandlingConditionBean() {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 9.8K bytes - Viewed (0) -
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) -
src/main/java/org/codelibs/fess/app/web/api/admin/accesstoken/CreateBody.java
* either express or implied. See the License for the specific language * governing permissions and limitations under the License. */ package org.codelibs.fess.app.web.api.admin.accesstoken; import org.codelibs.fess.app.web.admin.accesstoken.CreateForm; public class CreateBody extends CreateForm {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 791 bytes - Viewed (0) -
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) -
src/main/java/org/codelibs/fess/app/web/api/admin/accesstoken/EditBody.java
* either express or implied. See the License for the specific language * governing permissions and limitations under the License. */ package org.codelibs.fess.app.web.api.admin.accesstoken; import org.codelibs.fess.app.web.admin.accesstoken.EditForm; public class EditBody extends EditForm {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 785 bytes - Viewed (0)