public function associateRedirectUri($sessionId, $redirectUri)
    {
        DB::table('oauth_session_redirects')->insert(array(
            'session_id'   => $sessionId,
            'redirect_uri' => $redirectUri,
            'created_at' => Carbon::now(),
            'updated_at' => Carbon::now()
        ));
    }
public function associateRedirectUri($sessionId, $redirectUri)
    {
        DB::table('oauth_session_redirects')->insert(array(
            'session_id'   => $sessionId,
            'redirect_uri' => $redirectUri,
            'created_at' => Carbon::now(),
            'updated_at' => Carbon::now()
        ));
    }
public function associateRedirectUri ( $ sessionId , $ redirectUri ) { DB :: table ( 'oauth_session_redirects' ) -> insert ( array ( 'session_id' => $ sessionId , 'redirect_uri' => $ redirectUri , 'created_at' => Carbon :: now ( ) , 'updated_at' => Carbon :: now ( ) ) ) ; }
Associate a redirect URI with a session

Example SQL query:

<code>
INSERT INTO oauth_session_redirects (session_id, redirect_uri) VALUE (:sessionId, :redirectUri)
</code>

@param  int    $sessionId   The session ID
@param  string $redirectUri The redirect URI
@return void
Associate a redirect URI with a session