Skip to content

Commit

Permalink
URLs for mojang.account.auth.yggdrasil
Browse files Browse the repository at this point in the history
  • Loading branch information
Lucino772 committed Apr 27, 2021
1 parent f501c02 commit 0d7548f
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions mojang/account/auth/_urls.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@

class URLs:

# Auth
@classmethod
def authenticate(cls):
return 'https://authserver.mojang.com/authenticate'

@classmethod
def refresh(cls):
return 'https://authserver.mojang.com/refresh'

@classmethod
def validate(cls):
return 'https://authserver.mojang.com/validate'

@classmethod
def invalidate(cls):
return 'https://authserver.mojang.com/invalidate'

@classmethod
def signout(cls):
return 'https://authserver.mojang.com/signout'

0 comments on commit 0d7548f

Please sign in to comment.