Class AuthToken

java.lang.Object
com.sap.cloud.sdk.cloudplatform.security.AuthToken

public class AuthToken extends Object
Class providing access to the authorization token of a request.
  • Constructor Summary

    Constructors
    Constructor
    Description
    AuthToken(com.auth0.jwt.interfaces.DecodedJWT jwt)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    com.auth0.jwt.interfaces.DecodedJWT
    The DecodedJWT bearer contained in the Authorization header of the given request.
    int
     

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • AuthToken

      public AuthToken(@Nonnull com.auth0.jwt.interfaces.DecodedJWT jwt)
  • Method Details

    • equals

      public boolean equals(@Nullable Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • getJwt

      @Nonnull public com.auth0.jwt.interfaces.DecodedJWT getJwt()
      The DecodedJWT bearer contained in the Authorization header of the given request.