전체 글 (484) 썸네일형 리스트형 Postman - Google OAuth Let's see how we can get the token using Google OAuth. Open the postman and create a GET request and enter the URL Move to the 'Authorization' tap and select the 'OAuth 2.0' Select the 'Client Credentials' under the 'Client Credentials' section Enter the Access Token URL, Client ID, and Client Secret Click the send button Then it will get the token Done HTML 삽입 미리보기할 수 없는 소스 HTML 삽입 미리보기할 수 없는 소스 포스트맨 구글 Auth 요청하기 포스트맨에서 구글 OAuth로 인증토큰 받는 방법을 알아보자. 포스트맨을 열고 GET 요청생성 후 유알엘 입력 'Authorization' 탭으로 이동 후 'OAuth 2.0' 선택 'Client Credentials' 항목에서 'Client Credentials' 선택 Access Token URL, Client ID, Client Secret 입력 설정완료 후 전송버튼 클릭 전송 후 아래와 같이 토큰이 반환 이상 HTML 삽입 미리보기할 수 없는 소스 Springboot - Sending Emails Let's see how we can send emails with the Springboot application. Dependencies org.springframework.boot spring-boot-starter-mail Properties Open the application.properties file and add the properties shown below. Set the host and port depending on the kind of hosts that you want to use. Then add the sender email address and password. For gmail we have to use an app password which provides a bett.. 스프링부트 이메일 전송 스프링부트 어플리케이션에서 이메일 전송하는 방법에 대해 알아보자. 디펜던시 추가 org.springframework.boot spring-boot-starter-mail 프로퍼티 설정 application.properties 파일에 아래와 같이 속성값을 추가한다. 호스트와 포트는 사용하고자 하는 메일에 따라 설정한다. 다음으로 발신 메일주소와 비밀번호를 입력하는 데 지메일의 경우 제한된 권한을 허용하는 앱 비밀번호를 사용해야한다. spring.mail.host=smtp.gmail.com spring.mail.port=587 spring.mail.username= spring.mail.password= spring.mail.properties.mail.smtp.auth=true spring.mail.pro.. React - Style Libraries (Bootstrap) Let's see how we can add style libraries in the React application Bootstrap Run the command shown below to install the bootstrap npm i bootstrap Add the path in the index.js file import 'bootstrap/dist/css/bootstrap.css'; Done References Adding Bootstrap | Create React App (create-react-app.dev) Adding Bootstrap | Create React App While you don’t have to use any specific library to integrate Boo.. 리액트 - 스타일 라이브러리(부트스트랩) 리액트 애플리케이션에 스타일라이브러리를 추가하는 방법을 살펴보자 부트스트랩 아래 커맨드를 통해 부트스트랩 설치 npm i bootstrap index.js 파일에 경로추가 import 'bootstrap/dist/css/bootstrap.css'; 이상 참고 Adding Bootstrap | Create React App (create-react-app.dev) Adding Bootstrap | Create React App While you don’t have to use any specific library to integrate Bootstrap with React apps, it's often easier than trying to wrap the Bootstrap jQuery plugins. R.. Polymorphism In Object Oriented Programming, it is possible to use one interface to implement different types and this feature is called polymorphism. Think of it as a form that can take various values. So polymorphism is just a functionality that allows different values with one class. Runtime Type VS Compile-time Type Typing As mentioned polymorphism enables us to use one class to implement different value.. 폴리모피즘 객체지향 프로그래밍에서는 하나의 인터페이스를 통해 다양한 타입을 구현은 것이 가능한데 이를 폴리모피즘이라고 한다. 하나의 폼을 통해 다양한 값을 주입하는 것이 가능하듯이 하나의 클래스를 폼이라고 생각하면 해당 폼에 다양한 값을 넣을 수 있는 것이 폴리모피즘이라고 보면 된다. 런타임타입 VS 컴파일타입 타입핑 언급한 대로 폴리모피즘은 하나의 클래스를 통해 다양한 타입을 사용하게 하는 데 이는 런타임과 컴파일타입의 차이로 인해 가능하다. 주로 컴파일타입은 변수 정의의 좌측에 런타임타입은 변수 정의 우측에 온다. 지역변수 var (LVTI) 자바버전 10에서 추가된 기능으로 타입에 구애 없이 변수를 정의하게 해 준다. 지역변수타입 추측(LVTI) 아래와 같은 제한을 가진다. 1. 클래스의 필드로 사용불가 2... 이전 1 2 3 4 5 6 7 ··· 61 다음