public class AuthenticatorUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
static javax.ws.rs.core.Response |
authorizeUser(javax.ws.rs.core.HttpHeaders headers)
Checks whether received credentials for accessing API is authorized for exporting and
importing APIs
|
public static javax.ws.rs.core.Response authorizeUser(javax.ws.rs.core.HttpHeaders headers)
throws APIExportException
headers - HTTP headers of the received requestAPIExportException - If an error occurs while authorizing current userCopyright © 2018 WSO2 Inc. All rights reserved.