Skip to content

Commit

Permalink
feat: Add TokenInfo (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
youjin09222 committed Nov 10, 2023
1 parent c02d404 commit cedae93
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
package com.gdsc_teamb.servertoyproject.jwt;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;

@Builder
@Data
@AllArgsConstructor
// 클라이언트에 토큰을 보내기 위한 DTO
public class TokenInfo {
private String grantType;
private String accessToken;
private String refreshToken;
}
5 changes: 4 additions & 1 deletion server-toy-project/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,7 @@ spring:
ddl-auto: update
properties:
hibernate:
format_sql: true
format_sql: true

jwt:
secret: VlwEyVBsYt9V7zq57TejMnVUyzblYcfPQye08f7MGVA9XkHa

0 comments on commit cedae93

Please sign in to comment.