All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.sap.cloud.sdk.cloudplatform.security.AuthToken Maven / Gradle / Ivy

Go to download

Implementation of the Cloud platform abstraction for security functionality on the SAP Cloud Platform (Cloud Foundry).

There is a newer version: 2.28.0
Show newest version
/*
 * 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 - 2024 Weber Informatics LLC | Privacy Policy