• rmsousa@chromium.org's avatar
    Host-side third party token validation · 4386f0a9
    rmsousa@chromium.org authored
    This creates a TokenValidator implementation on the host, that upon receiving a token:
    Signs the token with its private key.
    Uses URLFetcher to request the exchange of the token for a secret from the Token Validation URL.
    On receiving a reply, checks that the scope in the reply matches the one required for this connection.
    Uses the callback to send the shared_token back to the authentication layer.
    
    (The server will authenticate the host by checking that the token signature matches the host public key that the client included in the token request)
    
    BUG=115899
    
    Review URL: https://chromiumcodereview.appspot.com/12313085
    
    git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192701 0039d316-1c4b-4281-b951-d872f2087c98
    4386f0a9
me2me_host_authenticator_factory.h 2.3 KB