generated from azmisahin/azmisahin-software-repository-template-docker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.go
26 lines (21 loc) · 679 Bytes
/
main.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/**
* @file authentication
* @author Azmi ŞAHİN ([email protected])
* @brief It quickly integrates authentication and authorization processes with application program interfaces to communicate with many protocols such as OAuth.
* @version 0.0.3
* @date 2022-01-01
*
* @copyright Copyright (c) 2022
*/
package main
import (
"os"
authentication "github.com/azmisahin/azmisahin-software-web-server-authentication-oAuth-go-v1/Authentication"
)
func main() {
PROTOCOL := os.Getenv("PROTOCOL")
DOMAIN := os.Getenv("DOMAIN_NAME")
PORT := os.Getenv("AUTHENTICATION_SERVER_APP_PORT")
app := authentication.NewAuthentication()
app.Start(PROTOCOL, DOMAIN, PORT)
}