Package com.nimbusds.jose

Examples of com.nimbusds.jose.PlainHeader$Builder



  public void testHeaderAndClaimsSetConstructor()
    throws Exception {

    PlainHeader header = new PlainHeader.Builder().customParam("exp", 1000l).build();

    JWTClaimsSet claimsSet = new JWTClaimsSet();
    claimsSet.setSubject("alice");
    claimsSet.setIssuer("http://c2id.com");
    claimsSet.setAudience("http://app.example.com");
View Full Code Here

TOP

Related Classes of com.nimbusds.jose.PlainHeader$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.