module Microsoft::MobileOAuth

Defined in:

microsoft/mobile_oauth.cr

Constant Summary

CLIENT_ID = "e550efe8-765e-41aa-a7cf-9bcaaa82d2b9"

Class Method Summary

Class Method Detail

def self.login! : Token #

[View source]
def self.prompt_for_login! : Token #

Prompts the user to follow Microsoft's Device Flow for OAuth. https://docs.microsoft.com/en-us/azure/active-directory/develop/v2-oauth2-device-code Returns the access token as a String


[View source]