Examples of ClaimsRequest


Examples of com.nimbusds.openid.connect.sdk.ClaimsRequest

  public static ACRRequest resolve(final AuthenticationRequest authRequest) {
   
    List<ACR> essentialACRs = null;
    List<ACR> voluntaryACRs = null;
   
    ClaimsRequest claimsRequest = authRequest.getClaims();
   
    if (claimsRequest != null) {
     
      for (ClaimsRequest.Entry claimEntry: claimsRequest.getIDTokenClaims()) {
       
        if (! claimEntry.getClaimName().equals("acr"))
          continue;
       
        if (claimEntry.getClaimRequirement().equals(ClaimRequirement.ESSENTIAL)) {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.