@Test public void getGrantType() { assertThat(clientCredentialsToken.getGrantType()).isEqualTo(GrantType.CLIENT_CREDENTIALS); assertThat(userToken.getGrantType()).isEqualTo(GrantType.USER_TOKEN); }
@Override public GrantType getGrantType() { return GrantType.from(getClaimAsString(GRANT_TYPE)); }
XsuaaToken extends AbstractToken implements AccessToken { @Override public GrantType getGrantType() { return GrantType.from(getClaimAsString(GRANT_TYPE)); } }
XsuaaToken extends AbstractToken implements AccessToken { @Override public GrantType getGrantType() { return GrantType.from(getClaimAsString(GRANT_TYPE)); } XsuaaToken(@Nonnull DecodedJwt decodedJwt);  XsuaaToken(@Nonnull String accessToken); }
XsuaaToken extends AbstractToken implements AccessToken { @Override public GrantType getGrantType() { return GrantType.from(getClaimAsString(GRANT_TYPE)); } XsuaaToken(@Nonnull DecodedJwt decodedJwt);  XsuaaToken(@Nonnull String accessToken); XsuaaToken withScopeConverter(@Nullable ScopeConverter converter); @Override Set<String> getScopes(); @Override Principal getPrincipal(); @Override Service getService(); @Override boolean hasScope(String scope); @Override boolean hasLocalScope(@Nonnull String scope); @Override GrantType getGrantType(); @Nullable String getSubdomain(); @Nullable String getSubaccountId(); @Override String getZoneId(); }
XsuaaToken extends AbstractToken implements AccessToken { @Override public GrantType getGrantType() { return GrantType.from(getClaimAsString(GRANT_TYPE)); } XsuaaToken(@Nonnull DecodedJwt decodedJwt);  XsuaaToken(@Nonnull String accessToken); XsuaaToken withScopeConverter(@Nullable ScopeConverter converter); @Override Set<String> getScopes(); @Override Principal getPrincipal(); @Override Service getService(); @Override boolean hasScope(String scope); @Override boolean hasLocalScope(@Nonnull String scope); @Override GrantType getGrantType(); @Nullable String getSubdomain(); @Nullable String getSubaccountId(); @Override String getZoneId();  }