Skip to content

Instantly share code, notes, and snippets.

@gamerson
Created April 28, 2022 03:12
Show Gist options
  • Save gamerson/b24e2435bbace80dd190334a0f5cde99 to your computer and use it in GitHub Desktop.
Save gamerson/b24e2435bbace80dd190334a0f5cde99 to your computer and use it in GitHub Desktop.
: granted_authority: SCOPE_Liferay.Headless.Admin.User.everything
: credentials: org.springframework.security.oauth2.core.OAuth2AccessToken@b8eb5cd7
: details: WebAuthenticationDetails [RemoteIpAddress=192.168.205.1, SessionId=null]
: name: 20127
: principal key: active, val: true
: principal key: client_id, val: id-1c7bb905-4dcf-f49d-b686-187ece212f
: principal key: exp, val: 2022-04-28T17:35:07Z
: principal key: iat, val: 2022-04-28T00:55:07Z
: principal key: scope, val: [Liferay.Headless.Admin.User.everything]
: principal key: sub, val: 20127
: principal key: token_type, val: Bearer
: principal key: username, val: ZZZ Test
: principal key: company.id, val: 20099
: claim key: active, val: true
: claim key: client_id, val: id-1c7bb905-4dcf-f49d-b686-187ece212f
: claim key: exp, val: 2022-04-28T17:35:07Z
: claim key: iat, val: 2022-04-28T00:55:07Z
: claim key: scope, val: [Liferay.Headless.Admin.User.everything]
: claim key: sub, val: 20127
: claim key: token_type, val: Bearer
: claim key: username, val: ZZZ Test
: claim key: company.id, val: 20099
: name 20127
: username: ZZZ Test
: pscope: Liferay.Headless.Admin.User.everything
: subject: 20127
: token key: active, val: true
: token key: client_id, val: id-1c7bb905-4dcf-f49d-b686-187ece212f
: token key: exp, val: 2022-04-28T17:35:07Z
: token key: iat, val: 2022-04-28T00:55:07Z
: token key: scope, val: [Liferay.Headless.Admin.User.everything]
: token key: sub, val: 20127
: token key: token_type, val: Bearer
: token key: username, val: ZZZ Test
: token key: company.id, val: 20099
: isAuthenticated: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment