Skip to content
  • David Zeuthen's avatar
    Bug 617483 – Credentials passing · 7eba4134
    David Zeuthen authored
    
    
     - Make GCredentials instance and class structures private so it can't
       be subclassed and we don't have to worry about ABI compat
       issues. This also allows us to get rid of the GCredentialsPrivate
       struct.
    
     - Add a GCredentialsType enumeration that is used whenever exchanging
       pointers with the user. This allows us to support OSes with
       multiple native credential types. In particular, it allows
       supporting OSes where the native credential evolves or even changes
       over time.
    
     - Add g_socket_get_credentials() method.
    
     - Add tests for g_socket_get_credentials(). Right now this is in the
       GDBus peer-to-peer test case but we can change that later.
    
     - Move GTcpConnection into a separate gtk-doc page as was already
       half-done with GUnixConnection. Also finish the GUnixConnection
       move and ensure send_credentials() and receive_credentials()
       methods are in the docs. Also nuke comment about GTcpConnection
       being empty compared to its superclass.
    
    Signed-off-by: default avatarDavid Zeuthen <davidz@redhat.com>
    7eba4134