azure-keyvault/azure/keyvault/_internal.py
def _bstr_to_b64url(bstr, **kwargs):
    """Serialize bytes into base-64 string.
    :param str: Object to be serialized.
    :rtype: str
    """
    encoded = b64encode(bstr).decode()
    return encoded.strip('=').replace('+', '-').replace('/', '_')
def _bstr_to_b64url(bstr, **kwargs):
    """Serialize bytes into base-64 string.
    :param str: Object to be serialized.
    :rtype: str
    """
    encoded = b64encode(bstr).decode()
    return encoded.strip('=').replace('+', '-').replace('/', '_')
def _bstr_to_b64url ( bstr , * * kwargs ) : encoded = b64encode ( bstr ) . decode ( ) return encoded . strip ( '=' ) . replace ( '+' , '-' ) . replace ( '/' , '_' )
Serialize bytes into base-64 string.
    :param str: Object to be serialized.
    :rtype: str
Serialize bytes into base - 64 string . : param str : Object to be serialized . : rtype : str