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

io.quarkus.security.identity.request.TokenAuthenticationRequest Maven / Gradle / Ivy

There is a newer version: 2.1.0
Show newest version
package io.quarkus.security.identity.request;

import io.quarkus.security.credential.TokenCredential;

/**
 * An simple authentication request that uses a token
 */
public class TokenAuthenticationRequest extends BaseAuthenticationRequest implements AuthenticationRequest {

    private final TokenCredential token;

    public TokenAuthenticationRequest(TokenCredential token) {
        this.token = token;
    }

    public TokenCredential getToken() {
        return token;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy