Documentation
¶
Overview ¶
Package usecase 는 인증 컨텍스트의 애플리케이션 로직을 담는다.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Login ¶
type Login struct {
// contains filtered or unexported fields
}
Login 은 ID/PW 로 사용자를 인증하고 세션 토큰을 발급한다.
OIDC 와 나란히 서는 두 번째 경로다. IdP 가 죽어도 들어갈 수단이 있어야 한다.
func NewLogin ¶
func NewLogin(repo port.CredentialRepository, issuer port.SessionIssuer) *Login
type LoginOutput ¶
type LoginOutput struct {
Token string
User domain.Credential
}
LoginOutput 은 로그인 결과다.
Click to show internal directories.
Click to hide internal directories.