Skip to content

Instantly share code, notes, and snippets.

Created Aug 30, 2014
Embed
What would you like to do?
Referesh token entity for hibernate
package com.blabadi.sec.oauth.entities;
public class RefreshToken {
public String getToken_id() {
return token_id;
}
public void setToken_id(String token_id) {
this.token_id = token_id;
}
public byte[] getToken() {
return token;
}
public void setToken(byte[] token) {
this.token = token;
}
public byte[] getAuthentication() {
return authentication;
}
public void setAuthentication(byte[] authentication) {
this.authentication = authentication;
}
private String token_id;
private byte[] token;
private byte[] authentication;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment