Created
August 9, 2020 18:11
-
-
Save yigiterinc/9c612aaeb05234f4b89caf4204942a1e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class SecurityConstants { | |
public static final String SECRET = "SECRET_KEY"; | |
public static final long EXPIRATION_TIME = 900_000; // 15 mins | |
public static final String TOKEN_PREFIX = "Bearer "; | |
public static final String HEADER_STRING = "Authorization"; | |
public static final String SIGN_UP_URL = "/api/services/controller/user"; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment