## Uses of Class
com.sap.cloud.security.oauth2.OAuthSystemException

- Packages that use OAuthSystemException
  Package | Description
  --- | ---
  com.sap.cloud.security.oauth2 |

- - ### Uses of OAuthSystemException in com.sap.cloud.security.oauth2

    Methods in com.sap.cloud.security.oauth2 that throw OAuthSystemException
    Modifier and Type | Method and Description
    --- | ---
    `abstract boolean` | OAuthAuthorization.`isAuthorized(HttpServletRequest httpRequest)` This method is only for authentication purpose with the given Access Token.
    `abstract boolean` | OAuthAuthorization.`isAuthorized(HttpServletRequest httpRequest, Set<String> scopes)` Performs the protected resource access check by retrieving from the Authorization Server the scopes associated with the given Access Token, compares them with the passed scopes and checks the Token validity.
    `abstract boolean` | OAuthAuthorization.`isAuthorized(HttpServletRequest httpRequest, String scope)` Performs the protected resource access check by retrieving from the Authorization Server the scopes associated with the given Access Token, compares them with the passed scopes and checks the Token validity.
    `abstract boolean` | OAuthAuthorization.`isAuthorized(Set<String> scopes)` Performs the protected resource access check by retrieving the scopes from the currently logged in user and comparing them with the passed scopes.
    `abstract boolean` | OAuthAuthorization.`isAuthorized(String scope)` Performs the protected resource access check by retrieving the scopes from the currently logged in user and comparing them with the passed scope.

Copyright © 2018 SAP. All Rights Reserved.