FreeRDP
sdl_webview.cpp File Reference
#include <string>
#include <sstream>
#include <cstdlib>
#include <winpr/string.h>
#include <freerdp/log.h>
#include "sdl_webview.hpp"
#include "webview_impl.hpp"

Macros

#define TAG   CLIENT_TAG("SDL.webview")
 

Functions

static BOOL sdl_webview_get_rdsaad_access_token (freerdp *instance, const char *scope, const char *req_cnf, char **token)
 
static BOOL sdl_webview_get_avd_access_token (freerdp *instance, char **token)
 
BOOL sdl_webview_get_access_token (freerdp *instance, AccessTokenType tokenType, char **token, size_t count,...)
 

Macro Definition Documentation

◆ TAG

#define TAG   CLIENT_TAG("SDL.webview")

FreeRDP: A Remote Desktop Protocol Implementation Popup browser for AAD authentication

Copyright 2023 Isaac Klein fifth.nosp@m.degr.nosp@m.ee@pr.nosp@m.oton.nosp@m.mail..nosp@m.com

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

     http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Function Documentation

◆ sdl_webview_get_access_token()

BOOL sdl_webview_get_access_token ( freerdp *  instance,
AccessTokenType  tokenType,
char **  token,
size_t  count,
  ... 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ sdl_webview_get_avd_access_token()

static BOOL sdl_webview_get_avd_access_token ( freerdp *  instance,
char **  token 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ sdl_webview_get_rdsaad_access_token()

static BOOL sdl_webview_get_rdsaad_access_token ( freerdp *  instance,
const char *  scope,
const char *  req_cnf,
char **  token 
)
static
Here is the call graph for this function:
Here is the caller graph for this function: