Skip to content

Instantly share code, notes, and snippets.

Created August 30, 2014 15:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/71fd66dc9e58956fb3bf to your computer and use it in GitHub Desktop.
Save anonymous/71fd66dc9e58956fb3bf to your computer and use it in GitHub Desktop.
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