Skip to main content

Google

Google OAuth 인증을 처리하는 클래스입니다. SocialOauthInit 클래스를 상속받아 구현되었습니다.

Signature

declare class Google extends SocialOauthInit 

Extends: SocialOauthInit

Constructors

Constructor

Modifiers

Description

(constructor)(clientID)

Google 클래스의 생성자입니다.

Properties

Property

Modifiers

Type

Description

createOauthUrl

<State>({ state, scope, ...params }: OauthUserReqParams<GoogleAuthQueryParams, State>) => string

OAuth 인증 URL을 생성합니다.

loginToLink

<State>(params: OauthUserReqParams<GoogleAuthQueryParams, State>) => void

OAuth 인증 링크로 리다이렉트합니다.

loginToPopup

<State>(params: OauthUserReqParams<GoogleAuthQueryParams, State>) => void

OAuth 인증 팝업을 엽니다.

oAuthBaseUrl

string