Class AuthHandler

  • All Implemented Interfaces:
    io.netty.channel.ChannelHandler, io.netty.channel.ChannelInboundHandler

    @Sharable
    public class AuthHandler
    extends Handler
    Adds servers-side support for OAuth 2 authorization flows for obtaining limited access to API functionality. The resource server is assumed to be the same server as the authentication server.

    Currently only one flow is supported:

    Resource Owner Password Credentials
    User credentials are directly exchanged for access tokens.
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface io.netty.channel.ChannelHandler

        io.netty.channel.ChannelHandler.Sharable
    • Constructor Detail

      • AuthHandler

        public AuthHandler​(TokenStore tokenStore)
    • Method Detail

      • createAuthInfo

        public static org.yamcs.protobuf.AuthInfo createAuthInfo()
      • getSecurityStore

        public static SecurityStore getSecurityStore()