
com.sap.cloud.sdk.cloudplatform.security.AuthToken Maven / Gradle / Ivy
/*
* Copyright (c) 2019 SAP SE or an SAP affiliate company. All rights reserved.
*/
package com.sap.cloud.sdk.cloudplatform.security;
import javax.annotation.Nonnull;
import com.auth0.jwt.interfaces.DecodedJWT;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.RequiredArgsConstructor;
/**
* Class providing access to the authorization token of a request on SAP Cloud Platform Cloud Foundry.
*/
@RequiredArgsConstructor
@EqualsAndHashCode
public class AuthToken
{
/**
* The {@link DecodedJWT} bearer contained in the Authorization header of the given request.
*/
@Getter
@Nonnull
private final DecodedJWT jwt;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy