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

io.paradoxical.cassieq.discoverable.auth.CredentialsVerificationContext Maven / Gradle / Ivy

package io.paradoxical.cassieq.discoverable.auth;

import com.google.common.collect.ImmutableCollection;
import io.paradoxical.cassieq.model.accounts.AccountKey;
import io.paradoxical.cassieq.model.accounts.AccountName;
import io.paradoxical.cassieq.model.time.Clock;
import lombok.NonNull;
import lombok.Value;
import org.joda.time.Duration;

import javax.validation.constraints.NotNull;
import java.util.Collection;

@Value
public class CredentialsVerificationContext {

    @NotNull
    @NonNull
    private final ImmutableCollection keys;

    @NotNull
    @NonNull
    private final Clock clock;

    @NotNull
    @NonNull
    private final Duration allowedClockSkew;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy