i'm trying develop stand alone java process dedicated email inbox hosted azure active directory. purpose retrieve specific set of emails , perform operation. azure ad providing rest api perform same using auth2.0 authorization. however, access token expires in 60 mins. or so. want use private/public key certification perform same. achievable? if so, how achieve same.
thanks in advance.
there code sample c# seems similar needs, please see https://azure.microsoft.com/en-us/documentation/samples/active-directory-dotnet-daemon-certificate-credential/. think can try refer sample above perform needs in java.
hope helps. concern, please feel free let me know.