public interface CrossAppAdminAuthService
CrossAppAuthService| Modifier and Type | Method and Description | 
|---|---|
| String | generateTokenForSiteAuth(Long adminUserId) | 
| String | generateTokenForSiteAuth(Long adminUserId,
                        List<String> rolesToContrib)Returns a randomly generated String that the user can then include in a request from the site application to
 associate his site session with an admin user. | 
| String | getRedirectUrlForSiteAuth(String forwardUrl,
                         List<String> rolesToContrib)Composes a full URL that can be returned from a controller to redirect the user to the cross app authentication
 controller endpoint on the site application. | 
| String | getUrlForSiteAuth(String forwardUrl,
                 List<String> rolesToContrib) | 
String getRedirectUrlForSiteAuth(String forwardUrl, List<String> rolesToContrib)
forwardUrl - (not URL encoded)rolesToContrib - String generateTokenForSiteAuth(Long adminUserId)
adminUserId - generateTokenForSiteAuth(Long, List)String generateTokenForSiteAuth(Long adminUserId, List<String> rolesToContrib)
adminUserId - rolesToContrib - Copyright © 2020. All rights reserved.