Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 80 for access_token (0.07 sec)

  1. docs/ko/docs/tutorial/security/simple-oauth2.md

    ///
    
    ## 토큰 반환하기
    
    `token` 엔드포인트의 응답은 JSON 객체여야 합니다.
    
    `token_type`이 있어야 합니다. 여기서는 "Bearer" 토큰을 사용하므로 토큰 유형은 "`bearer`"여야 합니다.
    
    그리고 액세스 토큰을 포함하는 문자열과 함께 `access_token`이 있어야 합니다.
    
    이 간단한 예제에서는 완전히 안전하지 않고, 동일한 `username`을 토큰으로 반환합니다.
    
    /// 팁
    
    다음 장에서는 패스워드 해싱 및 <abbr title="JSON Web Tokens">JWT</abbr> 토큰을 사용하여 실제 보안 구현을 볼 수 있습니다.
    
    하지만 지금은 필요한 세부 정보에 집중하겠습니다.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  2. docs/pt/docs/tutorial/security/simple-oauth2.md

    ## Retorne o token
    
    A resposta do endpoint `token` deve ser um objeto JSON.
    
    Deve ter um `token_type`. No nosso caso, como estamos usando tokens "Bearer", o tipo de token deve ser "`bearer`".
    
    E deve ter um `access_token`, com uma string contendo nosso token de acesso.
    
    Para este exemplo simples, seremos completamente inseguros e retornaremos o mesmo `username` do token.
    
    /// tip | Dica
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Oct 31 12:17:45 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  3. docs/sts/keycloak.md

      -d "grant_type=client_credentials" \
      "http://localhost:8080/auth/realms/{realm}/protocol/openid-connect/token"
    ```
    
    The result will be a JSON document. To invoke the API you need to extract the value of the access_token property. You can then invoke the API by including the value in the Authorization header of requests to the API.
    
    The following example shows how to get the details of the user with `{userid}` from `{realm}` realm:
    
    ```
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 29 04:28:45 UTC 2022
    - 8.1K bytes
    - Viewed (0)
  4. docs/sts/web-identity.md

    | Params     | Value    |
    | :--        | :--      |
    | *Type*     | *String* |
    | *Required* | *No*     |
    
    ### RoleArn
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 10 20:16:44 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/es/config/cbean/cq/bs/BsAccessTokenCQ.java

        //                                                                       =============
        @Override
        public String asTableDbName() {
            return "access_token";
        }
    
        @Override
        public String xgetAliasName() {
            return "access_token";
        }
    
        // ===================================================================================
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 71.8K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/admin/upgrade/AdminUpgradeAction.java

        }
    
        private void upgradeFrom13_16() {
            // nothing
        }
    
        private void upgradeFrom13_17() {
            final String[] configIndices = { //
                    "fess_config.access_token", //
                    "fess_config.bad_word", //
                    "fess_config.boost_document_rule", //
                    "fess_config.crawling_info", //
                    "fess_config.crawling_info_param", //
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:46 UTC 2024
    - 54K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top