package com.ease.gsms.server.controllers.filters;

import org.springframework.security.authentication.UsernamePasswordAuthenticationToken;
import org.springframework.security.core.GrantedAuthority;

import java.io.Serializable;
import java.util.Collection;

public class ApiKeyAuthenticationToken extends UsernamePasswordAuthenticationToken implements Serializable {
    private static final long serialVersionUID = 531L;
    public ApiKeyAuthenticationToken(Object principal, Object apiKey, Collection<? extends GrantedAuthority> authorities) {
        super(principal, apiKey, authorities);
    }
}
