All Downloads are FREE. Search and download functionalities are using the official Maven repository.

me.tfeng.play.security.oauth2.AuthenticationManagerClient Maven / Gradle / Ivy

package me.tfeng.play.security.oauth2;

@SuppressWarnings("all")
@org.apache.avro.specific.AvroGenerated
public interface AuthenticationManagerClient {

  public static final org.apache.avro.Protocol PROTOCOL = org.apache.avro.Protocol.parse("{\"protocol\":\"AuthenticationManager\",\"namespace\":\"me.tfeng.play.security.oauth2\",\"types\":[{\"type\":\"record\",\"name\":\"ClientAuthentication\",\"fields\":[{\"name\":\"id\",\"type\":\"string\"},{\"name\":\"authorities\",\"type\":{\"type\":\"array\",\"items\":\"string\"}},{\"name\":\"scopes\",\"type\":{\"type\":\"array\",\"items\":\"string\"}}]},{\"type\":\"record\",\"name\":\"UserAuthentication\",\"fields\":[{\"name\":\"id\",\"type\":\"string\"},{\"name\":\"authorities\",\"type\":{\"type\":\"array\",\"items\":\"string\"}}]},{\"type\":\"record\",\"name\":\"Authentication\",\"fields\":[{\"name\":\"client\",\"type\":\"ClientAuthentication\"},{\"name\":\"user\",\"type\":[\"null\",\"UserAuthentication\"]}]},{\"type\":\"error\",\"name\":\"AuthenticationError\",\"fields\":[{\"name\":\"message\",\"type\":\"string\"}]}],\"messages\":{\"authenticate\":{\"request\":[{\"name\":\"token\",\"type\":\"string\"}],\"response\":\"Authentication\",\"errors\":[\"AuthenticationError\"]}}}");

  play.libs.F.Promise authenticate(java.lang.CharSequence token);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy