Auth

Catalog


GET Index

Request path:

https://staging.server.kahla.app/Auth/IndexTry

Request example:

https://staging.server.kahla.app/Auth/Index

GET Version

Request path:

https://staging.server.kahla.app/Auth/VersionTry

Request example:

https://staging.server.kahla.app/Auth/Version

POST Auth by password

Request path:

https://staging.server.kahla.app/Auth/AuthByPassword

Request content type:

application/x-www-form-urlencoded

Form content example:

Email=yourEmail&Password=yourPassword 

Request form:

Name Required Type
Email Required Text
Password Required Text

POST Register kahla

Request path:

https://staging.server.kahla.app/Auth/RegisterKahla

Request content type:

application/x-www-form-urlencoded

Form content example:

Email=yourEmail&Password=yourPassword&ConfirmPassword=yourConfirmPassword 

Request form:

Name Required Type
Email Required Text
Password Required Text
ConfirmPassword Not required Text

GET Sign in status

Request path:

https://staging.server.kahla.app/Auth/SignInStatusTry

Request example:

https://staging.server.kahla.app/Auth/SignInStatus

GET Authorize Me

Request path:

https://staging.server.kahla.app/Auth/MeTry

Request example:

https://staging.server.kahla.app/Auth/Me

POST Authorize Update info

Request path:

https://staging.server.kahla.app/Auth/UpdateInfo

Request content type:

application/x-www-form-urlencoded

Form content example:

NickName=yourNickName&Bio=yourBio&HeadImgKey=0 

Request form:

Name Required Type
NickName Required Text
Bio Not required Text
HeadImgKey Required Number

POST Authorize Change password

Request path:

https://staging.server.kahla.app/Auth/ChangePassword

Request content type:

application/x-www-form-urlencoded

Form content example:

OldPassword=yourOldPassword&NewPassword=yourNewPassword&RepeatPassword=yourRepeatPassword 

Request form:

Name Required Type
OldPassword Required Text
NewPassword Required Text
RepeatPassword Required Text

GET Authorize Init pusher

Request path:

https://staging.server.kahla.app/Auth/InitPusherTry

Request example:

https://staging.server.kahla.app/Auth/InitPusher

GET Authorize Log off

Request path:

https://staging.server.kahla.app/Auth/LogOffTry

Request example:

https://staging.server.kahla.app/Auth/LogOff