Package 

Interface LoginMicrosoftOnline

    • Method Summary

      Modifier and Type Method Description
      abstract Call<LoginResponse> login(@Field(value = "grant_type") String grantType, @Field(value = "client_id") String clientId, @Field(value = "client_secret") String clientSecret, @Field(value = "scope") String scope)
      • Methods inherited from class ai.tock.bot.connector.teams.token.LoginMicrosoftOnline

        equals, hashCode, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • login

        @Headers(value = {"Host:login.microsoftonline.com", "Content-Type:application/x-www-form-urlencoded"})@POST(value = "/botframework.com/oauth2/v2.0/token")@FormUrlEncoded() abstract Call<LoginResponse> login(@Field(value = "grant_type") String grantType, @Field(value = "client_id") String clientId, @Field(value = "client_secret") String clientSecret, @Field(value = "scope") String scope)