Interface AuthenticationApi
public interface AuthenticationApi
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<V1AdminConfiguredResponse>org.springframework.http.ResponseEntity<V1InitAdminResponse>org.springframework.http.ResponseEntity<V1DexConfigResponse>org.springframework.http.ResponseEntity<V1GetLoginTypeResponse>org.springframework.http.ResponseEntity<V1LoginUserInfoResponse>org.springframework.http.ResponseEntity<V1LoginResponse>login(V1LoginRequest body) org.springframework.http.ResponseEntity<V1RefreshTokenResponse>
-
Method Details
-
getLoginType
@GetMapping("/api/v1/auth/login_type") org.springframework.http.ResponseEntity<V1GetLoginTypeResponse> getLoginType() -
getLoginUserInfo
@GetMapping("/api/v1/auth/user_info") org.springframework.http.ResponseEntity<V1LoginUserInfoResponse> getLoginUserInfo() -
refreshToken
@GetMapping("/api/v1/auth/refresh_token") org.springframework.http.ResponseEntity<V1RefreshTokenResponse> refreshToken() -
login
@PostMapping("/api/v1/auth/login") org.springframework.http.ResponseEntity<V1LoginResponse> login(@RequestBody V1LoginRequest body) -
adminConfigured
@GetMapping("/api/v1/auth/admin_configured") org.springframework.http.ResponseEntity<V1AdminConfiguredResponse> adminConfigured() -
configureAdmin
@PutMapping("/api/v1/auth/init_admin") org.springframework.http.ResponseEntity<V1InitAdminResponse> configureAdmin(@RequestBody V1InitAdminRequest body) -
getDexConfig
@GetMapping("/api/v1/auth/dex_config") org.springframework.http.ResponseEntity<V1DexConfigResponse> getDexConfig()
-