Package com.nimbusds.openid.connect.sdk

Examples of com.nimbusds.openid.connect.sdk.AuthenticationRequest$Builder


      // Merge params from request object
      finalParams.putAll(requestObjectParams);


      // Parse again
      AuthenticationRequest finalAuthRequest;

      try {
        finalAuthRequest = AuthenticationRequest.parse(request.getEndpointURI(), finalParams);

      } catch (ParseException e) {

        throw new ResolveException("Couldn't create final OpenID Connect authentication request: " + e.getMessage(), e);
      }
     
      return new AuthenticationRequest(
        finalAuthRequest.getEndpointURI(),
        finalAuthRequest.getResponseType(),
        finalAuthRequest.getScope(),
        finalAuthRequest.getClientID(),
        finalAuthRequest.getRedirectionURI(),
        finalAuthRequest.getState(),
        finalAuthRequest.getNonce(),
        finalAuthRequest.getDisplay(),
        finalAuthRequest.getPrompt(),
        finalAuthRequest.getMaxAge(),
        finalAuthRequest.getUILocales(),
        finalAuthRequest.getClaimsLocales(),
        finalAuthRequest.getIDTokenHint(),
        finalAuthRequest.getLoginHint(),
        finalAuthRequest.getACRValues(),
        finalAuthRequest.getClaims(),
        null, // request object
        null); // request URI
     
    } catch (ResolveException e) {
     
View Full Code Here

TOP

Related Classes of com.nimbusds.openid.connect.sdk.AuthenticationRequest$Builder

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.