#NEWLINE# def __init__( self , g = None , urlbase = 'https://web2py.com/cas/cas' , actions = [ 'login' , 'validate' , 'logout' ] , maps = dict ( username = ( lambda v : v . get ( 'username' , v [ 'user' ] ) ) , email = ( lambda v : v . get ( 'email' , None ) ) , user_id = ( lambda v : v [ 'user' ] ) ) , casversion = 1 , casusername = 'cas:user' ) : #NEWLINE# #INDENT# self . urlbase = urlbase #NEWLINE# self . cas_login_url = ( '%s/%s' % ( self . urlbase , actions [ 0 ] ) ) #NEWLINE# self . cas_check_url = ( '%s/%s' % ( self . urlbase , actions [ 1 ] ) ) #NEWLINE# self . cas_logout_url = ( '%s/%s' % ( self . urlbase , actions [ 2 ] ) ) #NEWLINE# self . maps = maps #NEWLINE# self . casversion = casusername #NEWLINE# self . casusername = casusername #NEWLINE# self . cas_my_url = URL ( args = current . request . args , scheme = True )