Ether Framework
Unified API docs for Ether modules
Loading...
Searching...
No Matches
dev.rafex.ether.jwt.impl.JWebTokenImpl Class Reference

Legacy JWT implementation. More...

Inheritance diagram for dev.rafex.ether.jwt.impl.JWebTokenImpl:
Collaboration diagram for dev.rafex.ether.jwt.impl.JWebTokenImpl:

Classes

class  Builder
 Legacy builder kept for migration compatibility.

Public Member Functions

String aJson ()
String get (final String property)
List< String > getAudience ()
String getEncodedHeader ()
Long getExpiration ()
Long getIssuedAt ()
String getIssuer ()
String getJwtId ()
Long getNotBefore ()
JsonNode getPayload ()
String getSignature ()
String getSubject ()
boolean isValid ()
 JWebTokenImpl (final String token)
 Parse an existing JWT token string.
String toString ()

Detailed Description

Legacy JWT implementation.

Prefer DefaultTokenIssuer + DefaultTokenVerifier.

Deprecated
Use reusable APIs in package dev.rafex.ether.jwt.

Definition at line 67 of file JWebTokenImpl.java.

Constructor & Destructor Documentation

◆ JWebTokenImpl()

dev.rafex.ether.jwt.impl.JWebTokenImpl.JWebTokenImpl ( final String token)

Parse an existing JWT token string.

Definition at line 84 of file JWebTokenImpl.java.

References dev.rafex.ether.jwt.internal.JwtCodec.parse().

Here is the call graph for this function:

Member Function Documentation

◆ aJson()

String dev.rafex.ether.jwt.impl.JWebTokenImpl.aJson ( )

Implements dev.rafex.ether.jwt.JWebToken.

Definition at line 164 of file JWebTokenImpl.java.

◆ get()

String dev.rafex.ether.jwt.impl.JWebTokenImpl.get ( final String property)

Implements dev.rafex.ether.jwt.JWebToken.

Definition at line 143 of file JWebTokenImpl.java.

◆ getAudience()

List< String > dev.rafex.ether.jwt.impl.JWebTokenImpl.getAudience ( )

Implements dev.rafex.ether.jwt.JWebToken.

Definition at line 108 of file JWebTokenImpl.java.

◆ getEncodedHeader()

String dev.rafex.ether.jwt.impl.JWebTokenImpl.getEncodedHeader ( )

Implements dev.rafex.ether.jwt.JWebToken.

Definition at line 153 of file JWebTokenImpl.java.

◆ getExpiration()

Long dev.rafex.ether.jwt.impl.JWebTokenImpl.getExpiration ( )

Implements dev.rafex.ether.jwt.JWebToken.

Definition at line 123 of file JWebTokenImpl.java.

◆ getIssuedAt()

Long dev.rafex.ether.jwt.impl.JWebTokenImpl.getIssuedAt ( )

Implements dev.rafex.ether.jwt.JWebToken.

Definition at line 133 of file JWebTokenImpl.java.

◆ getIssuer()

String dev.rafex.ether.jwt.impl.JWebTokenImpl.getIssuer ( )

Implements dev.rafex.ether.jwt.JWebToken.

Definition at line 98 of file JWebTokenImpl.java.

◆ getJwtId()

String dev.rafex.ether.jwt.impl.JWebTokenImpl.getJwtId ( )

Implements dev.rafex.ether.jwt.JWebToken.

Definition at line 138 of file JWebTokenImpl.java.

◆ getNotBefore()

Long dev.rafex.ether.jwt.impl.JWebTokenImpl.getNotBefore ( )

Implements dev.rafex.ether.jwt.JWebToken.

Definition at line 128 of file JWebTokenImpl.java.

◆ getPayload()

JsonNode dev.rafex.ether.jwt.impl.JWebTokenImpl.getPayload ( )

Implements dev.rafex.ether.jwt.JWebToken.

Definition at line 93 of file JWebTokenImpl.java.

◆ getSignature()

String dev.rafex.ether.jwt.impl.JWebTokenImpl.getSignature ( )

Implements dev.rafex.ether.jwt.JWebToken.

Definition at line 148 of file JWebTokenImpl.java.

◆ getSubject()

String dev.rafex.ether.jwt.impl.JWebTokenImpl.getSubject ( )

Implements dev.rafex.ether.jwt.JWebToken.

Definition at line 103 of file JWebTokenImpl.java.

◆ isValid()

boolean dev.rafex.ether.jwt.impl.JWebTokenImpl.isValid ( )

Implements dev.rafex.ether.jwt.JWebToken.

Definition at line 158 of file JWebTokenImpl.java.

◆ toString()

String dev.rafex.ether.jwt.impl.JWebTokenImpl.toString ( )

Definition at line 169 of file JWebTokenImpl.java.


The documentation for this class was generated from the following file: